2009-02-17 163 views

回答

2

你應該嘗試:

//a[.//b]

9
a[descendant::b] 

更準確,效率比

a[.//b] 

等於

a[self::node()/descendant-or-self::node()/child::b] 
相關問題