Thursday, 8 December 2011

--------xpath axes-----------
/bookstore/child::book

--------xpath operators-------
/bookstore/book[price>35]/title

--------predicates------------
/bookstore/book[position()<3]/price

--------several paths---------
/bookstore/book/title | //price

--------xpath wildcards-------
/bookstore/book/@*

/bookstore/book[2]/title/ancestor::book

No comments:

Post a Comment