aspose file tools
The moose likes Java in General and the fly likes Parsing an XML String Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Parsing an XML String " Watch "Parsing an XML String " New topic
Author

Parsing an XML String

Kamal Ahmed
Ranch Hand

Joined: Feb 15, 2005
Posts: 90
Hi,

I need some help and direction, on how to do the following:

I have a String object:



Now, what i want to do is to construct an inline XML Doc from this String, and do some operations on the inline doco, like get the value of nodes, get the root

Can any one help me with this, i would be highly oblidged.

Thanks,

-Kamal.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Scroll down to the XML forum and ask for the simplest example of the DOM parser they can come up with. It's a little tough to get just from the JavaDoc because so many things are just interfaces and it's hard to find the implementations. Or maybe that was just be being dense.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Parsing an XML String
 
Similar Threads
Parsing an XML String
Consider Haskell in lieu of DOM, SAX, or XSLT for processing XML data
problem while insert date data in mysql
need 2 rows rather than 5 from this query
looping xsl