This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Hello, I need xalan and read xml files with. Now I would like to edit a node. I select this node with
Then I set a value to this node
Then I check it
and it wrote : "myLogo.gif" If I open my xml file, the (only) node "logo" hasn't got a value... What is my problem? Why the string "myLogo.gif" isn't save? Gr�goire Berclaz
posted 12 years ago
Hi You are nearly there. You have read the file into the DOM in memory. The change you have made is in memory. You now just need to write the code for persisting the change to file. Have a look at the DOMSerializer documentation. Good luck!