Sounds perfect. Thanks for this hint. Did you every do something like this? Do you have sample snippets ;-)
Best regards, Robert -----Original Message----- From: Brian Agnew [mailto:[EMAIL PROTECTED] Sent: Freitag, 3. Dezember 2004 16:03 To: Ant Users List Subject: Re: Split XML file into seperate files with XSLT and ANT You can use xmltask with the <call> instruction. See http://www.oopsconsultancy.com/software/xmltask Robert Soesemann wrote: >Hello, > >I don't know if there is a standard way to do this, but maybe you have >an idea. > >I have many XML files which hold multiple XML fragments of a specific >type <contentitem>..</contentitem> For an easy import of those seperate >contentitems into a CMS it would be better to split those fragments up into >different file (one contentitem per file). > >As I am doing this inside an ant pipeline, I wonder if there is an >elegant way to do this with a mixture of XSLT and other file tasks? > >Can you help, > >Robert >-- >Robert S�semann >Associate, Technology | Sapient > >Kellerstr. 27 >81667 M�nchen, Deutschland >Tel.: +49 89/552 987-143 >Mobil: +49 162/2773-143 >Fax: +49 89/552 987-100 >Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > -- Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd brian @ oopsconsultancy.com Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
