XML Sax writer

Posted by Admin on 09-Feb-2009 04:58

Hi,

Using a Sax-writer is there an easy way to change the value of the ModifyMe element after other elements have been added to the XML file.

In the real program the value of ModifyMe is unknown until the complete XML file has been build.

.

.

create sax-writer pSax.

.

.

hSax:start-element("Header").

hSax:write-data-element("ModifyMe","","",hSaxAtt).

hSax:write-data-element("Element","fixed","",hSaxAtt).

--> on this line or further down I'd like to modify the value of the ModifyMe element.

hSax:end-element("Header").

Kind regards,

All Replies

This thread is closed