You can use buffers across multiple XMLTask invocations. The standard buffers are preserved, but Ant does some classloader magic, which means that you can have problems with this. If you're using XMLTask across <antcall/> and similar, then you can specify buffers to be persisted automatically to files (ideally in some temp space).
To quote the webpage: Buffers can be persisted to files. This permits buffers to be used across Ant invocations, and uses of <antcall>. To persist a buffer to a file, simply name it using a file URL. e.g. <cut path="/a/b" buffer="file://build/buffers/1"/> You will probably want to trash the directories that you use to store this early in your build. Brian On Fri, February 22, 2008 15:50, Holger Rauch wrote: > Hi, > > is it possible to use a buffer created from one particular <xmltask> also > in > other <xmltask>s (e.g. for <copy> operations based on XML nodes obtained > via > <call path="...">)? > > If not, what are possible solutions for creating a new XML document whose > contents are supposed to be collected from many different <xmltask>s? > > Thanks in advance for any hints/suggestions! > > Kind regards, > > Holger > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Xmltask-users mailing list > Xmltask-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xmltask-users > -- Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Xmltask-users mailing list Xmltask-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xmltask-users