xsl-list
[Top] [All Lists]

Re: [xsl] stylesheet expansion

2007-12-10 11:59:37
Andrew Welch wrote:
As Colin has said, compiled stylesheets seem to be the only way, but
may be not what the OP was after.  Ideally importable compiled
"stylesheet modules" will be invented soon....   :)

It really shouldn't be too hard to make a structure something like the following, which is basically a simple collection framework for stylesheets and can internally be gathered into a set of compiled stylesheets:

<col:stylesheet-collection xmlns:col="http://stylesheet-collection"; start-with="main">

    <xsl:stylesheet col:name="main".... >
        <xsl:import href="#import-me" />
    </
    <xsl:stylesheet col:name="import-me">
         <xsl:output ... />
         <xsl:template match="...
    </

</col:stylesheet>

Or something like that. What catalogs are to XML and DTD, can stylesheet collections be for XSLT. Perhaps a new standard ;)

Cheers,
-- Abel Braaksma

--~------------------------------------------------------------------
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>
--~--