Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / March 2004

Tip: Looking for answers? Try searching our database.

SAX with JAXP

Thread view: 
Araxes Tharsis - 04 Mar 2004 17:43 GMT
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!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.