Click to See Complete Forum and Search --> : How to modify XML using Stax?


chenlongtai77
June 22nd, 2004, 07:26 AM
Hi,

I am using Stax API to read and write a new XML file.

However, I need to modify an exisiting xml file using Stax but none of the API I find in Stax can do that!

All the tutorials I locate on the web above Stax has no references on how to modify xml using Stax: all above read XML and create a new XML.

Please advice.

How to modify XML using Stax API? If there are any references on the web, please reply in the forum.

Thanks.

Regards.

cjard
June 22nd, 2004, 07:28 AM
read it in... modify it, and write it out again?

not many xml api actually do do in-place modification