ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Krishniyer <>
Subject xmltask question
Date Wed, 29 Jun 2005 02:06:27 GMT
I have an xml file that has different paths for each file. Something 
like this
  <file name="a.jar" type="jar">
  <file name="b.conf" type="conf">

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 

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

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

Thanks in advance.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message