Click to See Complete Forum and Search --> : SAX question for exprests


uzeb
June 20th, 2001, 09:32 AM
Hi all,

I am trying to use SAX (microsoft implementation msxml version 4), I know how the ISAXReader works and how ISAXWritter works, my question is this:
if i have an xml file called MyName.xml which is implemented as follows:


Here is my name
Here is my age
<\begin

now,i use SAX to read and modify the text for the tag from "here is my name" to "here is my new name"......
how can i now save the change back to MyName.xml????

can any1 show me a sample code please???

tnx a lot
uzeb

"Ask not what the application can do for you,
Ask what you can do for the application"

Ritu Raj Tiwari
June 21st, 2001, 09:52 PM
Try using JDOM. It is geared towards xml document modification. A good starting point would be http://www.jdom.org. This, of course only applies if you are using Java

-Tiwari