xsl-list
[Top] [All Lists]

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

2005-07-27 10:50:55
This is becoming off-topic but I'm hoping you'll bear with me since I'm
trying to accomplish including common xsl files from a common
directory
underneath the webroot.

This is on an MS machine where 

  1. the default website is "stopped" - I think(?) that is preventing
"localhost"
      from working.  Can someone confirm this?

  2. there are multiple websites

Is there a way to get "localhost" to work without having the "default
website" running?

TIA.

Hardy Merrill

colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk 6/21/2005 11:15 AM >>>
"Hardy" == Hardy Merrill 
<HMerrill(_at_)dhcr(_dot_)state(_dot_)ny(_dot_)us> 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

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>
  • Re: xsl:include href - relative to document root?, Hardy Merrill <=