"SAX stream" -- Sorry about the shorthand; that phrase is sometimes used to
mean "sequence of SAX events". Basically, write code that issues the
appropriate SAX calls to drive a SAX2 ContentHandler. (You can think of
this as implementing part of the SAX XMLReader API.)

This isn't actually a great deal easier than simply writing out XML syntax
directly, for simple documents. The advantage is that by generating SAX
events (a) you're able to use an existing serializer which may deal with
syntactic nuisances like escaping characters not supported by the encoding,
and (b) it's easier to route the output of your code directly into other
XML processing applications (eg, into Xalan for stylesheet processing).



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to