aspose file tools*
The moose likes Java in General and the fly likes About Xalan Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "About Xalan" Watch "About Xalan" New topic
Author

About Xalan

Grégoire Berclaz
Greenhorn

Joined: Feb 19, 2003
Posts: 28
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
rom chatterjee
Ranch Hand

Joined: Dec 11, 2001
Posts: 46
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!


Rom Chatterjee<BR>Sun Certified Java Programmer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About Xalan