How convert String having contents in XML format into JDom document.
i am trying with below code:
String docString = txtEditor.getDocumentProvider().getDocument(
txtEditor.getEditorInput()).get();
SAXBuilder sb= new SAXBuilder();
doc = sb.build(new StringReader(docString));
Can any one help me to resolve above problem. Thanks in advance!!