posted 12 years ago
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 ?