Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 83669 invoked from network); 3 Dec 2004 14:06:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 14:06:35 -0000 Received: (qmail 54005 invoked by uid 500); 3 Dec 2004 14:05:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 53943 invoked by uid 500); 3 Dec 2004 14:05:54 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 53903 invoked by uid 99); 3 Dec 2004 14:05:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from 12-107-29-10.sapient.com (HELO ims2.sapient.com) (12.107.29.10) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 06:05:52 -0800 Received: from munsmsx01.sapient.com ([10.130.1.7]) by ims2.sapient.com with Microsoft SMTPSVC(6.0.3790.80); Fri, 3 Dec 2004 06:05:49 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4D941.2F8C8FA1" Subject: Split XML file into seperate files with XSLT and ANT Date: Fri, 3 Dec 2004 15:05:46 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Split XML file into seperate files with XSLT and ANT Thread-Index: AcTZQTAFxMWHOpgZR8C+uSxMFPourA== From: "Robert Soesemann" Bcc: X-OriginalArrivalTime: 03 Dec 2004 14:05:49.0950 (UTC) FILETIME=[317B91E0:01C4D941] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4D941.2F8C8FA1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 I don't know if there is a standard way to do this, but maybe you have = an idea. =20 I have many XML files which hold multiple XML fragments of a specific = type .. 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). =20 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? =20 Can you help, =20 Robert -- Robert S=F6semann=20 Associate, Technology | Sapient Kellerstr. 27=20 81667 M=FCnchen, Deutschland Tel.: +49 89/552 987-143 Mobil: +49 162/2773-143 Fax: +49 89/552 987-100 Email: rsoesemann@sapient.com =20 =20 ------_=_NextPart_001_01C4D941.2F8C8FA1--