aspose file tools*
The moose likes XML and Related Technologies and the fly likes have node object, need to view it's xml? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "have node object, need to view it Watch "have node object, need to view it New topic
Author

have node object, need to view it's xml?

Mark Lybarger
Ranch Hand

Joined: Dec 19, 2003
Posts: 72
i have a node from the result of an xpath expression. i want to see the entire node string. for example. the node is xml is:

and for an xpath expression of /data/foo, i get back a node list. i want to see:

how can i display this from the result? i'm using jaxen for the xpath expression evaluator, and getting a w3c node back. i can certain convert to another node type if it's easier.

thanks!
Mark Lybarger
Ranch Hand

Joined: Dec 19, 2003
Posts: 72
google. groups turned up something that does the trick:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: have node object, need to view it's xml?