If I understand you correctly, you want to take a file that looks to
contain the output from an Ant run and extract valid XML from it, is
that correct?
If so, there are two parts you need in a filterchain. The first is
something to strip the "[api] " tags from the beginning of each
line.
;
> --
> View this message in context:
> http://ant.1045680.n5.nabble.com/Stripping-Contents-from-XML-tp5027993p5028824.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe,
My final output after stripping will be an XML. I tried using regex but not
able to achieve.
--Vinodh Kumar
--
View this message in context:
http://ant.1045680.n5.nabble.com/Stripping-Contents-from-XML-tp5027993p5028824.html
Sent from the Ant - Users mailing list archive at Nabble.com
ember 2011 07:19
To: user@ant.apache.org
Subject: Stripping Contents from XML
Hi,
Can I know how to achieve with ant? Basically I need xml tag content from
[api] to [api] as output
Any hint?
* [api] DBTime is 2028005710
[api] Invoking api: getServerList, expectedtofail: fals
* [api]
[api]
...
[api] *
--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