in reply to Re^4: language selection via libxml
in thread language selection via libxml
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: language selection via libxml
by tangent (Parson) on Jan 20, 2014 at 13:21 UTC | |
by choroba (Cardinal) on Jan 20, 2014 at 13:46 UTC | |
by tangent (Parson) on Jan 20, 2014 at 14:05 UTC | |
by choroba (Cardinal) on Jan 20, 2014 at 14:25 UTC | |
by tangent (Parson) on Jan 20, 2014 at 20:53 UTC |