[Home] [By Thread] [By Date] [Recent Entries]


[Mike Champion]

> There are parsers that take non-angle-bracket syntax and generate SAX
events
> (I can't point to any offhand)

I'm sure many people on this list have done this.  I've got a little system
that uses an indented format inspired by Python formatting - something like
YAML, it turns out, but a bit different.  I wrote a Python parser that
throws SAX events and have a writer that can output xml.  It's a great way
to whip up a modest amount of xml by hand, and it's very readable, you can
see the structure more easily (it can't capture all xml constructions, but I
don't care).

It would be interesting to learn what other kinds of non-xml SAX generators
people have written.  Anyone care to say?

Cheers,

Tom P


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member