[
Lists Home |
Date Index |
Thread Index
]
David Tolpin wrote:
> Bob Foster:
>
>>Conversely, James Clark has written several serializers, e.g., XmlWriter
>>in trang, in which the convention is:
>>
>>startElement*
>> attribute*
>>
>> (text | startElement)*
>>
>>endElement
>>
>>No explicit end-start-tag is used or needed. The writer can tell when a
>>start tag needs to end; in fact, the convention helps to produce empty
>>element tags without backtracking. Use is simple and natural.
>
>
> James Clark is an honorable man.
>
> XmlWriter from trang is tailored to the particular use in trang; namely
> for tree traversal. It is only one test case of many.
I would think tree traversal is a pretty important use case. What's the
other use case, array traversal? ;-}
Bob Foster
http://xmlbuddy.com/
|