xsl-list
[Top] [All Lists]

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

2004-12-05 05:09:58
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(_at_)sapient(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




-- 
<M:D/>

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>