[jdom-interest] no build method that takes a String?
    Matthew MacKenzie 
    matt at xmlglobal.com
       
    Sun Feb 18 20:00:27 PST 2001
    
    
  
try:
String xmlString = "...";
Document doc = new SAXBuilder().build(new StringReader(xmlString));
Cheers,
-matt
<<| message from: "Peoter Veliki" <peoter_veliki at hotmail.com> |>>
This is a multi-part message in MIME format.
> 
> 
> 
> 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?
> 
> THx
> 
> 
<<| end message from "Peoter Veliki" <peoter_veliki at hotmail.com> |>>
--
Matthew MacKenzie
VP Research & Development, Founder
XML Global Technologies, Inc.
    
    
More information about the jdom-interest
mailing list