xsl-list
[Top] [All Lists]

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

2005-06-21 08:02:54
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(_at_)dhcr(_dot_)state(_dot_)ny(_dot_)us 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list 
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--