Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mark Lybarger
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
google. groups turned up something that does the trick:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic