Results 1 to 1 of 1
Thread: St node Value help needed
- 10-16-2011, 12:05 AM #1
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
XML set Node Value help needed
Hello,
I have a XML file NAME.XML, I can read the XML and get the node names. The only thing is that I can’t (or don’t know how) to set new value to empty node. Here is the XML example:
<city>
<person>
<name /> // here must be set the new value.
<age>25<age/>
</person>
</city>
The name is a simple string like String name = “Sponger Bob”;
Any help please?
Thanks in advance.Last edited by Arsench; 10-16-2011 at 12:20 AM. Reason: word correction
Similar Threads
-
node.x
By java software in forum Java SoftwareReplies: 0Last Post: 10-10-2011, 07:20 PM -
[DOM] How to insert a new node ?
By adash in forum XMLReplies: 0Last Post: 09-06-2011, 02:09 PM -
Guidance Needed for Removing a Node
By Cod in forum New To JavaReplies: 0Last Post: 03-13-2011, 01:19 PM -
Vetex vs Node
By BeijingDuck in forum New To JavaReplies: 19Last Post: 01-19-2011, 07:29 PM -
How to disabled a node.
By smartsubroto in forum New To JavaReplies: 32Last Post: 07-01-2008, 07:30 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks