Maybe I'm petty, but ...

Conal Tuohy wrote:

if $parent="foo" and $child="bar" then:


/*[local-name()=$parent][*[local-name()=$child]]

should return all nodes matching the XPath "/foo" and having a child node named "bar".


/*[local-name()=$parent]/*[local-name()=$child]

should return all nodes which match the xpath "/foo/bar"

Cheers

Con

Joerg



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to