how can I parser just a xml string???

Put your problem here if it does not fit any of the other categories.

how can I parser just a xml string???

Postby sit06603 » Thu Sep 18, 2008 11:27 am

hi,

I don't know how to parser just a xmlString... I only know how to
parser xmlDocument or files...

can anyone show me how or guide me???


thanks...


wesley.
sit06603
Junior Developer
Junior Developer
 
Posts: 22
Joined: Thu May 15, 2008 11:22 am

Top

Re: how can I parser just a xml string???

Postby plusminus » Thu Sep 18, 2008 4:17 pm

Hello sit06603,

try sth like:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. yourSaxParser.parse(new InputSource(new StringReader("HELLO WORLD")));
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 13 guests