XPath Query Interface
XPath問い合わせ例:
-
Q1 Simple path match
/article/prolog/title
-
Q2 Ordered access with position
/article/body/section[1]/@heading
-
Q3 Exact match, that has string comparation
/article/prolog[authors/author/name=="Yuiko Nytro"]/title
-
Q4 Numeral comparation
/article/epilog/references[a_id>==25]
-
Q5 Query contains expression '//'
/article//author/name
-
Q6 Query contains plural expression '//'
//article//author
-
Q7 query contains axis that cannot abbreviate
/article/body/section/following-sibling::*
-
Q8 query contains nodeTest
//article/parent::node()