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

Re: xsl:include href - relative to document root?

Subject: Re: xsl:include href - relative to document root?
From: "Hardy Merrill" <HMerrill@xxxxxxxxxxxxxxxx>
Date: Tue, 21 Jun 2005 11:02:54 -0400
xsl include href
Let me back up and ask a more general question.  In web
applications, how do other people organize style sheets so that
style sheets containing common code are located in one place,
and then how do application style sheets _using_ that common
code refer to (xsl:include?) them?

Thanks.

Hardy Merrill

>>> HMerrill@xxxxxxxxxxxxxxxx 6/21/2005 10:19 AM >>>
MSXML4
ASP

We're using ASP to render XML files using XSL style sheets.  In a
style
sheet I'm trying to understand the different ways to xsl:include
another
style sheet.  Is there a way to have an xsl:include href refer to a
file relative to
the webserver's document root?  From the documentation I've read
it seems that the only way the href can be specified is either

  1. absolute - which for us means starting with a drive letter and
                         continuing with a path to the file, or
  2. relative - starting with "../" assuming the current position is
                      the directory where the xsl file being rendered
is.

Is there another way?

Thanks.

Hardy Merrill

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.