how to generate sax events from variables 2003-04-24 - By Andrew Welch
Hi,
Ive got some variables that I want to turn into a stream of sax events.
For example:
String a = "root"; String b = "node";
Would become something like:
startElement(null, a, a, null); startElement(null, b ,b, null); endElement... endElement...
...which will be the source of an xsl transform.
How can I go about generating SAX events without actually parsing a document? This is hopefully trivial, but Im struggling with it at the moment.
cheers andrew
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.470 / Virus Database: 268 - Release Date: 08/04/2003
|
|