//* (树) |
/AAA (树) |
/AAA (树) |
//BBB (树) |
//@id (树) |
/AAA/CCC (树) |
/AAA/BBB (树) |
//DDD/BBB (树) |
//BBB[@*] (树) |
/*/*/*/BBB (树) |
//BBB[@id] (树) |
/child::AAA (树) |
/AAA/BBB[1] (树) |
/AAA/DDD/BBB (树) |
//BBB[@name] (树) |
//CCC | //BBB (树) |
//GGG/self::* (树) |
/descendant::* (树) |
/AAA/CCC/DDD/* (树) |
//BBB[not(@*)] (树) |
/child::AAA/BBB (树) |
//DDD/parent::* (树) |
//BBB[@id='b1'] (树) |
//*[count(*)=2] (树) |
//*[count(*)=3] (树) |
/AAA/EEE | //BBB (树) |
/AAA/BBB[last()] (树) |
//FFF/ancestor::* (树) |
//GGG/ancestor::* (树) |
//*[count(BBB)=2] (树) |
//*[name()='BBB'] (树) |
//ZZZ/following::* (树) |
//GGG/preceding::* (树) |
//GGG/following::* (树) |
//GGG/preceding::* (树) |
//BBB[@name='bbb'] (树) |
//CCC/descendant::* (树) |
//GGG/descendant::* (树) |
//CCC/descendant::DDD (树) |
/AAA/XXX/following::* (树) |
/AAA/XXX/preceding::* (树) |
/child::AAA/child::BBB (树) |
/AAA/BBB/descendant::* (树) |
//GGG/ancestor-or-self::* (树) |
//*[contains(name(),'C')] (树) |
//CCC/following-sibling::* (树) |
//CCC/preceding-sibling::* (树) |
//CCC/descendant-or-self::* (树) |
//BBB[position() mod 2 = 0 ] (树) |
//*[starts-with(name(),'B')] (树) |
/AAA/BBB/following-sibling::* (树) |
/AAA/XXX/preceding-sibling::* (树) |
/AAA/XXX/descendant-or-self::* (树) |
//*[string-length(name()) = 3] (树) |
//*[string-length(name()) < 3] (树) |
//*[string-length(name()) > 3] (树) |
/AAA/BBB/DDD/CCC/EEE/ancestor::* (树) |
/AAA/EEE | //DDD/CCC | /AAA | //BBB (树) |
//BBB[normalize-space(@name)='bbb'] (树) |
/AAA/XXX/DDD/EEE/ancestor-or-self::* (树) |
//BBB[ position() = floor(last() div 2 + 0.5) or position() = ceiling(last() div 2 + 0.5) ] (树) |
//CCC[ position() = floor(last() div 2 + 0.5) or position() = ceiling(last() div 2 + 0.5) ] (树) |
//GGG/ancestor::* | //GGG/descendant::* | //GGG/following::* | //GGG/preceding::* | //GGG/self::* (树) |