[Home] [By Thread] [By Date] [Recent Entries]
Julian Reschke wrote: > Hi, > > what's the preferred technical term (and a precise reference) for the > thing that's frequently called an "XML fragment" (*)? > > In the XML spec, <http://www.w3.org/TR/REC-xml/#NT-content> seems to > be the right production, but "content" does not work well as term used > outside the XML spec's context... > > Feedback appreciated, Julian There are a lot of different possibilities, especially depending on what kind of information you are dealing with (text, markup, infoset, trees): element, range, fragment, branch, entity. It may be that the term you are looking for is "section". XML has one kind of marked section in elements, the CDATA marked section, but SGML has others not necessarily synchronous with element structure. If we can speak of a marked section, I don't see why we cannot speak of unmarked sections too. Perhaps "range" would be better kept for regions defined over the infoset (range is defined in XPointer, to its failure), while "section" would be better for regions defined over the markup or raw text. Cheers Rick Jelliffe
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



