ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Soesemann" <rsoesem...@sapient.com>
Subject RE: Split XML file into seperate files with XSLT and ANT
Date Fri, 03 Dec 2004 15:44:35 GMT
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:brian@oopsconsultancy.com] 
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: rsoesemann@sapient.com <mailto:rsoesemann@sapient.com>  
> 
>
>  
>

-- 
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message