generated from sethub/template
[libxml2]Add libxml2 library
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/child::EXAMPLE
|
||||
/child::*
|
||||
/child::EXAMPLE/child::head
|
||||
/child::EXAMPLE/child::*
|
||||
/child::EXAMPLE/child::head/child::title
|
||||
/child::EXAMPLE/child::head/child::title/child::text()
|
||||
/child::EXAMPLE/child::head/node()
|
||||
/descendant::title
|
||||
/descendant::p/ancestor::chapter
|
||||
//p[1]
|
||||
//p[0 div 0]
|
||||
//p[100000000000000000000]
|
||||
//p[-100000000000000000000]
|
||||
//chapter[true()][position() mod 2 = 1][true()][2]
|
||||
//chapter[true()][2][true()]
|
||||
//node()[false()]
|
||||
(//node())[false()]
|
||||
@@ -0,0 +1,8 @@
|
||||
/following::*
|
||||
/preceding::*
|
||||
/child::EXAMPLE/preceding::*
|
||||
/child::EXAMPLE/following::*
|
||||
/child::EXAMPLE/child::chapter[3]/preceding::*
|
||||
/child::EXAMPLE/child::chapter[3]/following::*
|
||||
/child::EXAMPLE/child::chapter[1]/image/preceding::*
|
||||
/child::EXAMPLE/child::chapter[1]/image/following::*
|
||||
@@ -0,0 +1,3 @@
|
||||
//*[@id="root"]
|
||||
//*[@id="chapter2"]
|
||||
//*[@id="chapter5"]
|
||||
@@ -0,0 +1,5 @@
|
||||
//*[lang('en')]
|
||||
//*[lang('en-us')]
|
||||
//*[lang('en-gb')]
|
||||
//*[lang('fr')]
|
||||
//*[lang('')]
|
||||
@@ -0,0 +1,7 @@
|
||||
s
|
||||
s|p1/s
|
||||
s|/root/p1/s
|
||||
/root/p1/s|s
|
||||
//s
|
||||
//s|p1
|
||||
p1|//s
|
||||
@@ -0,0 +1,5 @@
|
||||
/.
|
||||
//.
|
||||
/root//.
|
||||
//.//./././/.
|
||||
/root//././/bar//.
|
||||
@@ -0,0 +1,5 @@
|
||||
/doc/elem/namespace::node()/..
|
||||
/doc/elem/namespace::*/self::node()[true()]
|
||||
//*[namespace::ns1]
|
||||
/doc/elem/namespace::ns2/following::*
|
||||
/doc/elem/namespace::ns2/preceding::*
|
||||
@@ -0,0 +1,10 @@
|
||||
/EXAMPLE
|
||||
/EXAMPLE/head
|
||||
/EXAMPLE/chapter[1]
|
||||
//p
|
||||
//chapter/image
|
||||
//p/text()
|
||||
//p/text()[position()=1]
|
||||
//p/text()[position()=last()]
|
||||
(//p/text())[position()=1]
|
||||
(//p/text())[position()=last()]
|
||||
@@ -0,0 +1,16 @@
|
||||
/child::*
|
||||
/child::EXAMPLE
|
||||
/child::EXAMPLE/child::head
|
||||
/child::EXAMPLE/child::*
|
||||
/child::EXAMPLE/child::head/child::title
|
||||
/child::EXAMPLE/child::head/child::title/child::text()
|
||||
/child::EXAMPLE/child::head/node()
|
||||
/child::EXAMPLE/attribute::prop1/self::node()
|
||||
/child::EXAMPLE/attribute::prop1/self::*
|
||||
/child::EXAMPLE/attribute::prop1/descendant-or-self::node()
|
||||
/child::EXAMPLE/attribute::prop1/descendant-or-self::*
|
||||
/child::EXAMPLE/attribute::prop1/ancestor-or-self::node()
|
||||
/child::EXAMPLE/attribute::prop1/ancestor-or-self::*
|
||||
/descendant::title
|
||||
/descendant::p/ancestor::chapter
|
||||
/child::EXAMPLE/attribute::prop2/preceding::text()
|
||||
@@ -0,0 +1 @@
|
||||
//p[.='abc']
|
||||
@@ -0,0 +1 @@
|
||||
/文書
|
||||
@@ -0,0 +1 @@
|
||||
//ITEM[1]
|
||||
@@ -0,0 +1,5 @@
|
||||
id('chapter1')
|
||||
id('chapter3')
|
||||
id('chapter1')/p
|
||||
id('chapter1')//p
|
||||
id('chapter1')/p[1]
|
||||
Reference in New Issue
Block a user