[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] xsl:include href - relative to document root?
Subject: Re: [xsl] xsl:include href - relative to document root? From: "Hardy Merrill" <HMerrill@xxxxxxxxxxxxxxxx> Date: Tue, 21 Jun 2005 12:02:34 -0400 |
Thanks Colin - you answered my question exactly. As basic as it sounds (and is), I wasn't considering the fact that the href can actually refer to an "http:" address :-/ That is the way to xsl:include/import a file that is relative to the document root. >>> colin@xxxxxxxxxxxxxxxxxx 6/21/2005 11:15 AM >>> >>>>> "Hardy" == Hardy Merrill <HMerrill@xxxxxxxxxxxxxxxx> writes: Hardy> Let me back up and ask a more general question. In web Hardy> applications, how do other people organize style sheets so Hardy> that style sheets containing common code are located in one Hardy> place, and then how do application style sheets _using_ Hardy> that common code refer to (xsl:include?) them? One way is to have a directory called common, under the document root. The you can xsl:include/import from http://localhost/common/my-common.xsl. That works for server-side transformations only. -- Colin Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:include href - relati, David Carlisle | Thread | Re: [xsl] xsl:include href - relati, Hardy Merrill |
RE: [xsl] dynamic document() templa, Arian Hojat | Date | RE: [xsl] dynamic document() templa, Michael Kay |
Month |