6.3 Range Generation

Events in he content flow are represented in XML by empty tags, such as <l/>.

Ranges start at an event and end at another event, or at the end of an eclosing full tag container. The ranges themselves are represented by full tags at start and end if they do not overlap, or by <start> and <end> tag pairs if they do.

So for pair lists <pl> in udx.ini, udx does full tagging with:


[ShortTagContainers]
; full tag container = start of ini section names
pl=pairlist
[PairListShortTagReplacement]
; identifies Event Range Start
; event or full tag = ranges it starts
t=title
d=p
l=li
[PairListShortTagEnds]
; identifies Event Range End
; event or full tag = ranges it ends
; all end at the end of the enclosing pair list
t=t title d p l li
d=d p l li
l=l li

When going the other way, udx minimizes by replacing the range with the starting event:


[PairListLongTagReplacement]
; identifies Range Event Start
; range = event starting tag
title=t
p=d
li=l

Previous Topic:  6.2 Events and Ranges

Next Topic:  6.4 Creating New Shorthand Symbols

Parent Topic:  Chapter 6. uDoc Elements

Sibling Topics:

6.1 Creating New Elements

6.2 Events and Ranges

6.4 Creating New Shorthand Symbols

6.5 Foreign Elements

6.6 Content Models

6.7 Element Properties

6.8 Element Attributes