Well, it is a valid syntax, but the meaning is different: it tries to find a widget whose ID attribute has the same value as the text of the child of widget whose name is $id. Barewords are not promoted to strings in XPath."/language/$language/widget[\@ID=$id]" - OK
In reply to Re^5: language selection via libxml
by choroba
in thread language selection via libxml
by banzai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |