This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Managing semi-trivial sets of stylesheets.


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]