wood burning stoves 2.0*
The moose likes I/O and Streams and the fly likes split an xml string using xpath? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "split an xml string using xpath?" Watch "split an xml string using xpath?" New topic

split an xml string using xpath?

Mark Lybarger
Ranch Hand

Joined: Dec 19, 2003
Posts: 72
i have a need to split up an xml string. i have string such as (simplified example):


my app needs to process the item(s) in that xml. so i'd like to get a list of the item's as xml, such as: <item><name>foo</name></item>. if i use xpath on the nodes (jaxen), i get a nodelist back. can i use this nodelist to get the xml i need?
I agree. Here's the link: http://aspose.com/file-tools
subject: split an xml string using xpath?
Similar Threads
WSDL2Java Question
help with web service to display xml file contents using netbeans
Can't pin down this NullPointerException :(
Urgent Help! How to get attributes value using xalan parser
Parsing Error