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

Re: stylesheet expansion

Subject: Re: stylesheet expansion
From: Geert Bormans <geert@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Dec 2007 14:18:20 +0100
Re:  stylesheet expansion
Hi all,

I want to thank everybody for their valuable contributions to this thread.

Compiled stylesheet modules were indeed a bit of topic.
My requirement was a single stylesheet file that was the result of expanding all xsl:import statements


I ended up developing a stylesheet that looped over all the import statements repeatedly,
in order to carefully group keys, parameters, functions and templates,
dropping the template match="/" from every stylesheet but the main driver stylesheet


Since each of the imported files already had its functionality in separate modes,
I could do this without much trouble


Thanks again for all suggestions

Geert



On 11/12/2007, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:

> > It may be ideal for you, but it won't solve the OP's problem at all.
> > He will be in exactly the same situation as now.
>
> The OP said:
>
> "I have a stylesheet with a pipeline in it
> and a large set of imported stylesheets...
>
> I would like to deliver one expanded stylesheet."
>
> So the requirement is to be able to combine multiple stylesheets into
> a single deliverable...which "compiled stylesheet modules" would fit
> perfectly.

No it wouldn't. He wants one file, not several modules.

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.