Hello,
Seems simple enough in concept but I'm at a total loss. Basically I have a
WebRowSet that allows me to spit the XML out by using the .writeXml(Writer
w) method. What I need to do, is to add some additional XML at certain
locations within that rowset XML document. I think I know how to do this by
using DOM, but I want to use SAX for performance reasons. So basically I'd
like to pipe the WebRowSet output to a SAX parser so I can capture when
certain nodes are detected, append some of my own XML to the stream, then
pipe it to the XSL transformer.
So my WebRowSet might include something like the following...
<currentRow>
<columnValue>a</columnValue>
<columnValue>b</columnValue>
<columnValue>c</columnValue>
</currentRow>
.... but before hitting the XSLT transformer, I want it to look like.....
<currentRow>
<columnValue>a</columnValue>
<columnValue>b</columnValue>
<columnValue>c</columnValue>
<my_custom_node>my custom value</my_custom_node>
</currentRow>
... any ideas? Thanks!