[jdom-interest] no build method that takes a String?
kenneth.lee at alfacomtech.com
Sun Feb 18 20:24:54 PST 2001
Use a StringReader to wrap your string:
Document doc = builder.build(new StringReader(s));
----- Original Message -----
From: Peoter Veliki
To: jdom-interest at jdom.org
Sent: Monday, February 19, 2001 11:28 AM
Subject: [jdom-interest] no build method that takes a String?
I want to build a Document using a string that contains an XML document.
Document build(String xmlDoc);
and I'm a surprised to find that such a method does not exist. Is there a
reason why? Is there a simple work around?
More information about the jdom-interest