Check the Ant manual for the XSLT Core Task. It will apply an XSLT file to a single XML file or a list of files.
HTH Bill Rich Wilandra Consulting LLC 1325 Addiewell Place San Jose, CA 95120-3905 phone: +1 408 268-2452 mobile: +1 408 410-9713 Santa Cruz: +1 831 464-9007 fax: +1 413 669-9716 [EMAIL PROTECTED] http://www.wilandra.com -----Original Message----- From: Robert Soesemann [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 6:06 AM Subject: Split XML file into seperate files with XSLT and ANT 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]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]