Given the following XML document:
 
<root>
    <ele id="one">
        <ele id="two"/>
    </ele>
    <ele id="three"/>
<root>
 
executing the following XXE get macro command:
 
<cfg:get expression="/root//ele/@id"/>
 
returns the string "one". That is, it returns the string value of the 
first node in the node set returned by the xpath expression. It would be 
very useful if there were an option (or another command) that returned a 
whitespace-separated list of the string values of *all* the nodes in the 
node set. This list could then, for example, be fed into a "pick" 
command: and I can think of lots of uses for that.
 
Or maybe there's another simple way to do this?
 
Kevin Flynn
Birdstep Technology ASA
Oslo, Norway

Reply via email to