Hi
I have an xml file that has different paths for each file. Something like this
<files>
 <file name="a.jar" type="jar">
     <Location>"c:/1"</Location>
     <Location>"c:/2"</Location>
 </file>
 <file name="b.conf" type="conf">
     <Location>"e:/1"</Location>
     <Location>"e:/2"</Location>
     <Location>"e:/3"</Location>
</file> </files>

I use XmlTask to iteratively get each location for each file (I use "call" to call another target for each location for each file). The problem is I get the location as a string, I need it as a path to process further. For e.g I need to copy a.jar to both c:\1 and c:\2 locations. But when I use

<xmltask>
<call path="files/[EMAIL PROTECTED]'${jarfilename}']/Location" target="DiffTarget">
       <param name="filename" path="../@name"/>
       <param name="val" path="text()"/>
</call> </xmltask>

I get the "val" as string, how do I get it as path?

Thanks in advance.

Regards
Anand

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

Reply via email to