ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pellier Marc <arc...@onssapl.fgov.be>
Subject RE: How to access a XML element from a given file ?
Date Tue, 29 Apr 2003 09:34:21 GMT
See task XmlProperty in the core task

or http://www.oopsconsultancy.com/software/xmltask.html if you prefert

-----Original Message-----
From: Christophe Franco [mailto:christophe.franco@oxand.com]
Sent: mardi 29 avril 2003 11:29
To: user@ant.apache.org
Subject: How to access a XML element from a given file ?


Does somebody know if it is possible within a ANT build file, to access 
the content of a XML element in a given XML file (not the build.xml 
file, another XML file).

Here is something I'd like to write, but doesn't work :

<property name="config-file" value="definition.xml" />
<property name="config-name" value="${config-file}/root/name" />

-- 
Christophe Franco                       Oxand S.A.
Ingénieur                               tel : 01 60 39 52 51
DĂ©veloppement logiciel                  fax : 01 60 72 54 17
christophe.franco@oxand.com             http://www.oxand.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message