OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Parsing a String

[ Lists Home | Date Index | Thread Index ]
  • From: Howard Katz <howardk@fatdog.com>
  • To: xml-dev@xml.org
  • Date: Mon, 12 Jun 2000 16:27:37 -0700

If you were using a sax parser, you could say

    saxParser.parse( new InputSource( new StringReader( xmlText ) );

Howard

Alaoui Karim wrote:
> 
> Hi,
> 
> Newbie question :-)
> Is it possible to use an XML Parser to parse  an XML text contained in
> a String or a StringBuffer ?
> somthing like : Parser parser = new Parser(String xmlText)
> 
> Thanks.
> 
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
> 
> ***************************************************************************
> This is xml-dev, the mailing list for XML developers.
> To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
> List archives are available at http://xml.org/archives/xml-dev/
> ***************************************************************************

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS