Re: writing to XML

2008-05-01 Thread Brian Agnew
I don't want to sound like a broken record (!) but at the risk of sounding like one, this is precisely what XMLTask will do (including inserting XML with non-root nodes into existing documents, appending XML elements and fragments incrementally etc.). Anyway - that's my lot for the moment :-) Bri

Re: writing to XML

2008-05-01 Thread Gilbert Rebhan
James Fuller schrieb: On Thu, May 1, 2008 at 4:01 PM, Guy Catz <[EMAIL PROTECTED]> wrote: Thanks guys, that's very helpful. But, once I've used echoxml to write into a file, can I use it again to add more values, in append mode? the above would not be valid xml with something li

Re: writing to XML

2008-05-01 Thread Dominique Devienne
On Thu, May 1, 2008 at 9:15 AM, James Fuller <[EMAIL PROTECTED]> wrote: > On Thu, May 1, 2008 at 4:01 PM, Guy Catz <[EMAIL PROTECTED]> wrote: > > Thanks guys, that's very helpful. > > > > But, once I've used echoxml to write into a file, can I use it again to > > add more values, in append mo

Re: writing to XML

2008-05-01 Thread James Fuller
On Thu, May 1, 2008 at 4:01 PM, Guy Catz <[EMAIL PROTECTED]> wrote: > Thanks guys, that's very helpful. > > But, once I've used echoxml to write into a file, can I use it again to > add more values, in append mode? yes but an xml file with no root parent is invalid xml ;) e.g. if u just append

RE: writing to XML

2008-05-01 Thread Guy Catz
- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 12:22 PM To: Ant Users List Subject: Re: writing to XML Guy Catz wrote: > Hi. > > What I actually need, is to write data into a XML file, so I will be > able to render this XML to a HTML as a report.

Re: writing to XML

2008-05-01 Thread Gilbert Rebhan
Guy Catz wrote: Hi. What I actually need, is to write data into a XML file, so I will be able to render this XML to a HTML as a report. The XML structure is something I know. ant > 1.7.0 = your xml goes here ant < 1.7.0 = maybe you need to use = or if you want to write to an

Re: writing to XML

2008-05-01 Thread Steve Loughran
Guy Catz wrote: Hi. What I actually need, is to write data into a XML file, so I will be able to render this XML to a HTML as a report. The XML structure is something I know. Thanks. There is an task that takes well formed XML and echoes it. foo One thing you have

RE: writing to XML

2008-04-30 Thread Guy Catz
List Cc: user@ant.apache.org Subject: Re: writing to XML Where are you getting the XML node from ? XMLTask ( http://www.oopsconsultancy.com/software/xmltask/ ) may do what you require. Brian On Wed, April 30, 2008 17:10, Guy Catz wrote: > hi guys, > > I'm trying to write a node to

Re: writing to XML

2008-04-30 Thread Brian Agnew
Where are you getting the XML node from ? XMLTask ( http://www.oopsconsultancy.com/software/xmltask/ ) may do what you require. Brian On Wed, April 30, 2008 17:10, Guy Catz wrote: > hi guys, > > I'm trying to write a node to XML file. > Is it possible to do that from ANT? > > something like the

writing to XML

2008-04-30 Thread Guy Catz
hi guys, I'm trying to write a node to XML file. Is it possible to do that from ANT? something like the XMLProperty which read from XML, just the opposite.. :) Thanks. Guy.