Sunday, 26 April 2009

Converting a String to org.jdom.Document


import org.jdom.*;

String xml="<name> buddhika < /name >";

SAXBuilder builder=new SAXBuilder();


Document doc = builder.build(new StringReader(xml));



No comments: