[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Split XML file into seperate files with XSLT and A

Subject: Re: Split XML file into seperate files with XSLT and ANT
From: "M. David Peterson" <m.david.x2x2x@xxxxxxxxx>
Date: Sun, 5 Dec 2004 05:09:58 -0700
split xml file
Hi Robert,

As far as I can tell it doesn't look like you received an answer on
this...  While that may be because its more directed towards Ant
capability than XSLT capability there is the consideration of using
Saxon 8.x and XSLT 2.0's xsl:result-document for outputting multiple
files from the same transformation process.  Theres nothing more that
has to be done from your Ant process as you're simply implementing a
single transformation process in the same way you are probably doing
it now... the only difference will be in your stylesheet and
potentially the processor you are referencing if you're not already
using Saxon 8.x.

Hope this helps!

<M:D/>


On Fri, 3 Dec 2004 15:08:07 +0100, Robert Soesemann
<rsoesemann@xxxxxxxxxxx> 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
> 
> 


-- 
<M:D/>

:: M. David Peterson
:: XML & XML Transformations, C#, .NET, and Functional Languages Specialist
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.