Hi,
I want to parse a XML document with SAX (using JAXP) and found lot's of
examples of parsing from a file. But... I have the XML in a String variable
and want to parse from there. All the 'parse' methods from the SAXParse
class receive a File, or a InputStream, or a URI... I don't want to create a
file just to be able to parse the XML (for performance reasons).
Any help appreciated,
Araxes Tharsis
nos - 04 Mar 2004 20:56 GMT
y u post >1 group?
> Hi,
>
[quoted text clipped - 6 lines]
>
> Araxes Tharsis
Araxes Tharsis - 05 Mar 2004 00:26 GMT
Just 2 groups is crossposting? Ok... I will stop publishing to these 2
groups at the same time.
Best Regards,
Araxes Tharsis
Araxes Tharsis - 05 Mar 2004 00:26 GMT
Just 2 groups is crossposting? Ok... I will stop publishing to these 2
groups at the same time.
Best Regards,
Araxes Tharsis
Thomas Schodt - 05 Mar 2004 06:34 GMT
nos wrote:
> y u post >1 group?
> Just 2 groups is crossposting?
By definition, yes.
> Ok... I will stop publishing to these 2
> groups at the same time.
Please note that crossposting is not by definition bad
(but multiposting is).
nos did not say; "please don't", nos asked; "why".
If you have a valid reason, that's fine.
You can always reference the FAQ
http://makeashorterlink.com/?A3C414E97
Murat G. - 05 Mar 2004 01:58 GMT
> Hi,
>
[quoted text clipped - 6 lines]
>
> Araxes Tharsis
Use org.xml.Parser.parse(org.xml.sax.InputSource....) method.
-murat
Araxes Tharsis - 06 Mar 2004 20:29 GMT
Thank you very much to all!