--- In [email protected], "madflexcoder" 
<[EMAIL PROTECTED]> wrote:
>
> 
> I want to get an xmllist of nodes that contain a doc with a 
specific id.
> 
> for example all nodes where a doc id == 3.
> 
> My data structure is roughly as follows.
> 
> <nodes>
>   <node>
>     <doc id="1" />
>     <doc id="2" />
>   </node>
>    <node>
>      <node>
>         <doc id="3" />
>         <doc id="4" />
>      </node>
>      <node>
>         <doc id="5" />
>         <doc id="6" />
>      </node>
>   </node>
> </nodes>
>

Something like this will return all the "3" nodes:

someobject:xml = nodes.node.doc.(@id=="3");
 
Then you can query someobject or use it as a dataprovider, etc:  
someobject.node

Reply via email to