I've got an element X with two attributes, A & B. I want to identify
the B attribute but only for elements that have an A value == 'foo'.
<X A='bar' B='red'/>
<X A='foo' B='green'/>
<X A='bar' B='blue'/>
<X A='foo' B='yellow'/>
So, selectNodes shhould return "green" & "yellow".
I know that //X[@A='foo'] will get me the right set of X nodes,
and I know that //X/@B will get me the attribute B values,
but I'm not sure how they should be combined.
Thanks.
David Corbin
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest
- RE: [Jaxen] XPath help... David Corbin
- RE: [Jaxen] XPath help... Steen Lehmann
- Re: [Jaxen] XPath help... bob mcwhirter
- Re: [Jaxen] XPath help... David Corbin
- RE: [Jaxen] XPath help... Ryan Tomayko
- Re: [Jaxen] XPath help... bob mcwhirter
- Re: [Jaxen] XPath help... Steen Lehmann
- Re: [Jaxen] XPath help... James Strachan
- Re: [Jaxen] XPath help... bob mcwhirter
- Re: [Jaxen] XPath help... Steen Lehmann