have you looked at xslt task?
http://ant.apache.org/manual/CoreTasks/style.html

<!-- xml to xml -->
<xslt in="doc.xml" out="build/doc/output.xml"
      style="style/apache.xsl">
  
<outputproperty name="method" value="xml"/>
  
<outputproperty name="standalone" value="yes"/>
  
<outputproperty name="encoding" value="iso8859_1"/>
  
<outputproperty name="indent" value="yes"/>

</xslt>


<!-- xml to html -->
<xslt basedir="in" destdir="out"
      style="style/apache.xsl">
  <mapper type="glob" from="*.xml.en" to="*.html.en"/>
</xslt>

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




> From: [email protected]
> To: [email protected]
> Date: Mon, 9 Mar 2009 09:00:32 -0400
> Subject: XML
> 
> Hi.
> 
> Is it possible to iterate over a XML file? How can this be done?
> 
> Thanks,
>  Guy.

_________________________________________________________________
Express your personality in color! Preview and select themes for HotmailĀ®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme

Reply via email to