You should be able to do that with a param to call. i.e. identify the node
you're interested in with:

<call path="....">

and specify a param:

<param path="following-sibling:...

Note there's a dedicated mailing list for <xmltask> questions, which may
be a better forum going forwards.

Brian

On Thu, July 31, 2008 08:46, Alpesh Vesuwala wrote:
>
> Hey one more twist has come with my requirement.
>
> the above solution of xmltask requires separate 'call' to loop through
> 'XYZ'
> and 'ABC'
> Resulting in, I have first all the values of XYZ and then for ABC. and I
> want values for both together.
>
> e.g.
> <TITLE>
>         <ABC>abc</ABC>
>         <XYZ>xyz</XYZ>
>
>         <ABC>123</ABC>
>         <XYZ>456</XYZ>
>
>         ...
>         ...
>
> </TITLE>
>
> The 'call' should fetch values for both ABC and XYZ at a same time %-|
>
> Thanks,
> Alpesh
> --
> View this message in context:
> http://www.nabble.com/How-to-read-an-XML-file-and-extract-values-for-the-attributes-using-ANT-script-tp18648408p18749436.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to