[Home]  [List]  [News]  [Docs]  [FAQ]  [Downloads]  [Resources]  [About]
Search :
/Home /List

list4xt : Mailing list for the XT users community.

[list4xt] Fw: Managing semi-trivial sets of stylesheets.

Subject: [list4xt] Fw: Managing semi-trivial sets of stylesheets.

User: Website

From: Paul Tchistopolskii (pault12@pacbell.net)
Date: 07/06/2000 - 11:00


----- Original Message -----
From: Paul Tchistopolskii <paul@qub.com>
To: <xsl-list@mulberrytech.com>
Sent: Wednesday, June 07, 2000 1:58 AM
Subject: Managing semi-trivial sets of stylesheets.

>
> I have the following ( I think, typical ) hierarchy of XSL stylesheets:
>
> /ROOT/include/common.xsl
> /ROOT/project1/a.xsl
> /ROOT/project2/b.xsl
>
> I am placing some general purpose transformations into common.xsl
> and then I'm using:
>
> <xsl:include href="/ROOT/include/common.xsl" /> in a.xsl and b.xsl
>
> 1. I don't like the absolute path because:
>
> what if I have to place all the heap to /ROOT2/ - I'm forced to
> change a.xsl and b.xsl
>
> OK, so I'll write it
>
> <xsl:include href="../include/common.xsl" /> in a.xsl and b.xsl
>
> 2. I don't like the relative path because:
>
> what if I have to move:
>
> /ROOT/project1/a.xsl to /ROOT/project1/newbranch/a.xsl -
> I'm forced to change a.xsl
>
> Is there some 'XML mainstream' solution to this small problem?
>
> Many thanks.
>
> Rgds.Paul.
>
>
>

--
Mailing list for the XT users community.     (http://taxpayersavingsgrants.org)
(mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)



Archive générée par hypermail 2b28 le 06/11/2001 - 11:46 CET

webmaster@4xt.org