ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinodh Kumar <vinoh...@gmail.com>
Subject Stripping Contents from XML
Date Mon, 28 Nov 2011 07:18:36 GMT
Hi,

Can I know how to achieve with ant? Basically I need xml tag content from
[api] <Servers> to [api] </Servers> as output

Any hint?

*      [api] DBTime is 20111128005710
      [api] Invoking api: getServerList, expectedtofail: false
      [api] <?xml version="1.0" encoding="UTF-8"?>
      [api] <Servers>
      [api]     <Server Id="homeid" Name="home"
      [api]         Status="Active" Type="IntegrationAgentServer"/>
       .......
      [api] </Servers>*


to 

* [api] <Servers>
      [api]     <Server Id="homeid" Name="home"
      [api]         Status="Active" Type="IntegrationAgentServer"/>
       .......
      [api] </Servers>*

--Vinodh Kumar


--
View this message in context: http://ant.1045680.n5.nabble.com/Stripping-Contents-from-XML-tp5027993p5027993.html
Sent from the Ant - Users mailing list archive at Nabble.com.

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


Mime
View raw message