[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [syndication] SWML



9/6/01 3:25:09 PM, Mike Dierken <mike@datachannel.com> wrote:
>   If you give configuration info to a SAX parser - like "use 'class=' to get
>   the tagname" then you can consume either text format & the result (sax
>   event or DOM, whichever) looks the same. (I don't know of any SAX parser
>   that has this built in, so this unfortunately is only xml theory, not xml
>   practice.)

You can do such things with a SAX filter, which is in fact the natural place to do architectural 
processing (presuming that you don't require an awful lot of lookahead).