Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 85520 invoked from network); 7 Mar 2001 04:25:22 -0000 Received: from unknown (HELO bouncer.ltp.soft.net) (root@164.164.87.82) by h31.sny.collab.net with SMTP; 7 Mar 2001 04:25:22 -0000 Received: from Ankit (ankit.ltp.soft.net [192.168.1.230]) by bouncer.ltp.soft.net (8.9.3/8.8.7) with SMTP id KAA00784 for ; Wed, 7 Mar 2001 10:00:46 +0530 Message-ID: <003f01c0a6bf$005811f0$e601a8c0@LisleTechIN.ltp.soft.net> From: "Ankit" To: References: Subject: Re: Is it possible ro parse a string instead of parsing a file or steam in Java? Date: Wed, 7 Mar 2001 09:58:04 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N try antlr ----- Original Message ----- From: "Christian Muth" To: "x g" Sent: Tuesday, March 06, 2001 2:30 PM Subject: Is it possible ro parse a string instead of parsing a file or steam in Java? > Hello List, > > I wonder, if it is not possible to parse an ordinary java.lang.String > containing the xml document, e.g.: > ( "JohnDoe" ) > > 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? > > TIA, > > Christian Muth > -------------------------------------- > Web Application & System Developer > Phone: +49 6721 9174-84 > Web: www.base-system.com > E-Mail: christian.muth@base-system.com > -------------------------------------- > > > --------------------------------------------------------------------- > In case of troubles, e-mail: webmaster@xml.apache.org > To unsubscribe, e-mail: general-unsubscribe@xml.apache.org > For additional commands, e-mail: general-help@xml.apache.org >