[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|