Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using XPath to retrieve attribute values?

 
Namitha karupaiya
Ranch Hand
Posts: 89
  • 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
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic