This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Server Name
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 7 Jun 2002 12:17:37 -0600 (MDT)
- Subject: Re: [xsl] Server Name
- Reply-to: xsl-list at lists dot mulberrytech dot com
Chris Foo wrote:
> Does anyone know I can retrieve the server name in an XSL page for an href?
XSLT has no concept of "the server". Perhaps your XSLT processor offers
functionality for obtaining info about the environment in which it is running,
but it probably doesn't. You will have to write an extension function to get
this info. Check your XSLT processor's documentation for how to write one (it
varies from processor to processor).
- Mike
____________________________________________________________________________
mike j. brown | xml/xslt: http://skew.org/xml/
denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list