This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using XPath to retrieve attribute values?

 
Namitha karupaiya
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I retrieve the value of an attribute in an XML document using XPath?

For example, consider the followin XML fragment:

<message id=123>
</message>

I want to retrieve the value of id here?

Thank you very much.
 
Rajagopal Manohar
Ranch Hand
Posts: 183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I retrieve the value of an attribute in an XML document using XPath?

For example, consider the followin XML fragment:

<message id=123>
</message>

I want to retrieve the value of id here?



 
Namitha karupaiya
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! Rajagopal Manohar!

Thank you very much, your reply is very very useful for me.

Bye for now.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic