wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Modify XML using XMLbean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Modify XML using XMLbean" Watch "Modify XML using XMLbean" New topic
Author

Modify XML using XMLbean

Anish Kuti
Greenhorn

Joined: May 12, 2008
Posts: 29
Exiting application is using XMLBEAN for manipulating XML document.
Current Requirement one method which will update the XML , but the twist is the input of the method will be a xpath [like as /a/b/c[1]/d] and a value.
Now the method should update the element with the given value or if the element is not in the xml ,it needs to be inserted with the value.

Is there any method/api in Xmlbean which can take input as xpath and value.. and it will do modification in the XML.?
Please help ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Modify XML using XMLbean
 
Similar Threads
XMLBean Extensions
[XMLBean 2.3] How to generate XML file with start tag and end tag for empty element
xmlBean Problem
spring mvc xmlbean object JSON mapping error
XmlBean validation