How to convert a String to XML [message #500722] |
Wed, 23 March 2011 02:39 |
|
chanveil
Messages: 22 Registered: December 2010
|
Junior Member |
|
|
Hi all,
I am very new to xml. I have a requirement. Here i need to modify xml based on xpath expressions. For that i need to pass a string (xml) to a function, parse and modify.
1. While giving the statement Document document = (Document) builder.build(new InputSource("<entire xml>")) , i am getting the error message "String literal not properly closed"
How to avoid this ... ?
2. How to modify xml by JDOM ...?
Thanks in advance ..
|
|
|