ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Rich" <billr...@attglobal.net>
Subject RE: Split XML file into seperate files with XSLT and ANT
Date Fri, 03 Dec 2004 17:02:50 GMT
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
bill@wilandra.com
http://www.wilandra.com

-----Original Message-----
From: Robert Soesemann [mailto:rsoesemann@sapient.com] 
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: rsoesemann@sapient.com <mailto:rsoesemann@sapient.com>  
 



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


Mime
View raw message