list4xt : Mailing list for the XT users community.[list4xt] Re: Fw: Managing semi-trivial sets of stylesheets.Subject: [list4xt] Re: Fw: Managing semi-trivial sets of stylesheets.User: Website From: Leigh Dodds (ldodds@ingenta.com)Date: 07/06/2000 - 11:50
Hi,
> > 1. I don't like the absolute path because:
> > 2. I don't like the relative path because:
My solution to this has been to pull out this kind of configuration
<config>
Then in the stylesheet:
<xsl:variable name="configData" select="document('config.xml')" />
<xsl:include href="$includeDirectory/common.xml" />
Although obviously there are various ways to break this down.
It has the added advantage that I pass less parameters on the command
It seems to be pretty flexible.
Maybe not a 'mainstream XML' solution, but it works for me.
Cheers,
L.
-- Leigh Dodds, Systems Architect | "Pluralitas non est ponenda http://weblogs.userland.com/eclectic | sine necessitates" http://www.xml.com/pub/xmldeviant | -- William of Ockham
Archive générée par hypermail 2b28 le 06/11/2001 - 11:46 CET |