aspose file tools*
The moose likes XML and Related Technologies and the fly likes problem parsing xml string using dom parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "problem parsing xml string using dom parser" Watch "problem parsing xml string using dom parser" New topic
Author

problem parsing xml string using dom parser

Balamurugan Sundararajan
Greenhorn

Joined: Jul 31, 2003
Posts: 2
i want to parse a Xml String using a Dom parser......the parse function in dom parser takes only input stream as argument.......so i made the code as
InputStream inputstream = new StringBufferInputStream(XmlData) ;
InputSource inputSource = new InputSource(inputstream );
but saxexception is coming and also warning called
"java.io.StringBufferInputStream in java.io has been deprecated"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem parsing xml string using dom parser