Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

AW: Ant xmlproperty question

Jan Materne

2010-02-26

Replies: Find Java Web Hosting

Author LoginPost Reply
You could try <xmlproperty>.

The solution which costs the most time is creating a XSLT which transforms that xml into a property file. Then just load that generated property file.


Jan

>-----Ursprüngliche Nachricht-----
>Von: canadatom [mailto:tomoodesign@(protected)]
>Gesendet: Donnerstag, 25. Februar 2010 16:30
>An: user@(protected)
>Betreff: Ant xmlproperty question
>
>
>Hi all, I am new to ant, here is a simple task I want to do:
>using xml to parse a xml and get a certain attribute off the xml.
>
>example xml
>[code]
><psf>
> <project reference="v1.0,http://blahblahblah1,desc1"/>
> <project reference="v1.1,http://blahblahblah2,desc2"/>
> <project reference="v1.2,http://blahblahblah3,desc3"/>
></psf>
>[/code]
>
>How can I echo a list of project reference?
>thanks for helping
>--
>View this message in context:
>http://old.nabble.com/Ant-xmlproperty-question-tp27714461p27714461.html
>Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@(protected)
>For additional commands, e-mail: user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.