I can build a node set and select nodes using Jaxen 1.0, but I don't understand selecting based on an elements string value.
 
For example, using the following syntax (there is an additional / preceding each syntax but my email app enjoys doing something I don't want it to do!) and the included xml  file:
 
/card (builds a nodeset of 2)
/card[year=1973] (builds a nodeset of 1)
/card[name=Hank Aaron] (builds a nodeset of 0, as does use of single and double quotes)
 
Is it possible to search based on a substring such as "Aaron"?
 
Thanks!
 
<?xml version="1.0\"?>
<cards>
    <card>
        <name> Hank Aaron </name>
        <year> 1973 </year>
    </card>
    <card>
        <name> Brooks Robinson </name>
        <year> 1980 </year>
    </card>
</cards>
 
 

Reply via email to