[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Managing semi-trivial sets of stylesheets.

Subject: Managing semi-trivial sets of stylesheets.
From: Paul Tchistopolskii <paul@xxxxxxx>
Date: Wed, 07 Jun 2000 01:58:20 -0700
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.




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.