Sunday, October 25, 2009

2 Way to Fetch a Node's Attribute Value

There are at least 2 ways to fetch a node's attribute value using xpath:

# Method 1

//a/b/@c

# Method 2

//a/b/attribute::c

No comments:

Post a Comment

Labels