This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Managing semi-trivial sets of stylesheets.
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Managing semi-trivial sets of stylesheets.
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 7 Jun 2000 12:18:29 +0100
- Reply-To: xsl-list at mulberrytech dot com
> Then in the stylesheet:
>
> <xsl:variable name="configData" select="document('config.xml')" />
> <xsl:variable name="includeDirectory" select="$configData/includes" />
>
> <xsl:include href="$includeDirectory/common.xml" />
>
> Maybe not a 'mainstream XML' solution, but it works for me.
>
With which processor? It shouldn't work, because the href attribute of
<xsl:include> is a URI, not an XPath expression that evaluates to a URI.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list