xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Muth" <christian.m...@base-system.com>
Subject Is it possible ro parse a string instead of parsing a file or steam in Java?
Date Tue, 06 Mar 2001 09:00:02 GMT
Hello List,

I wonder, if it is not possible to parse an ordinary java.lang.String
containing the xml document, e.g.:
( "<user><firstname>John</firstname><lastname>Doe</lastname></user>"

I use the sax2 api and xerces for java, but I can only parse regular
files. I haven't found a possibility to take a normal string
as the input source.
Can one help me?


Christian Muth
Web Application & System Developer
Phone:  +49 6721 9174-84
Web:    www.base-system.com
E-Mail: christian.muth@base-system.com

View raw message