Re: Stripping Contents from XML

2011-11-28 Thread Bruce Atherton
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.

RE: Stripping Contents from XML

2011-11-28 Thread Brian Agnew
; > -- > 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,

RE: Stripping Contents from XML

2011-11-28 Thread Vinodh Kumar
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

RE: Stripping Contents from XML

2011-11-28 Thread Emma Burrows
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

Stripping Contents from XML

2011-11-28 Thread Vinodh Kumar
* [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