A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Change the value of a child element.
Joined: Mar 28, 2009
Apr 12, 2009 12:59:28
I have an XML structure as follows:
Whwn I parse the XML document I want to change the value of element <employee data="Name">
ie I wan the XML structure to be
I am using JAVA and org.dom4j.SAXReader
Thanks in advance
Author and all-around good cowpoke
Joined: Mar 22, 2000
Apr 13, 2009 08:22:06
What have you accomplished so far?
Can you locate the <employee> element and get the data attribute value?
I agree. Here's the link:
subject: Change the value of a child element.
Urgent : help needed is XSLT
Creating multiple Elements-Iterations in xml
xsd : defining array
Writing linked list to an XML file.
addElement in XML
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014