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

Re: Single output from many inputs

Subject: Re: Single output from many inputs
From: "Colin Adams" <colinpauladams@xxxxxxxxxxxxxx>
Date: Tue, 13 Nov 2007 12:04:45 +0000
Re:  Single output from many inputs
I would think running a single transformation, using the collection()
function would be the best way to appraoch this. You may need to write
your own custom implementation for resolving the collection URI.

On 13/11/2007, David Sinclair <dsinclair@xxxxxxxxxxxx> wrote:
> I have an ant build file and one of the tasks we need to do is to
> collect all the elements that have a certain attribute across many files
> in our code base into one xml file.
>
> Does anyone here know of a way to use XSLT to do this?  I had thought to
> use the xslt ant task to run on all files with a certain extension and
> collect all the values but I cant find a way to collect the results of
> each transform into the same file.
>
>         <xslt basedir="${sourcedir}" destdir="${targetdir}"
>             style="extract-shared-instances.xsl" includes="**/*.xhtml"
>             extension=".xhtml" force="true"/>
>
> Thanks in advance for any assistance you can give me,
>
> Dave

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.