J
Jeff
I'd like to write an XPath expression that gets a node with 2
particular children.
I thought this would work:
/AAA/BBB/CCC/following-silbing:
DD/parent::node()
on xml like this:
AAA
BBB
CCC
DDD
/BBB
/AAA
But it doesn;t seem to. I've been testing it here:
http://www.zvon.org:9001/saxon/cgi-bin/XLab/XML/source1.html
I would like to have some sort of "/sibling:
DD" so that I can find
any sib not just following or preceeding, but I can't seem to find a
way to do that either.
Any ideas?
BTW, My next step is to also require the that a particular attribute
of one of the children has one of a set of values.
Thanks.
particular children.
I thought this would work:
/AAA/BBB/CCC/following-silbing:
on xml like this:
AAA
BBB
CCC
DDD
/BBB
/AAA
But it doesn;t seem to. I've been testing it here:
http://www.zvon.org:9001/saxon/cgi-bin/XLab/XML/source1.html
I would like to have some sort of "/sibling:
any sib not just following or preceeding, but I can't seem to find a
way to do that either.
Any ideas?
BTW, My next step is to also require the that a particular attribute
of one of the children has one of a set of values.
Thanks.