Re: [xsl] XmlSpy [OT]

Subject: Re: [xsl] XmlSpy [OT]
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 13 Jul 2005 11:57:13 +0100
  the last being a relative path. All the above work for xsl:include and 
  xsl:import.

  document("file:///H:/Includes/standardHeader.xslt")

That one should work, I'd guess (but see below).

  document("H:/Includes/standardHeader.xslt")

that is the URI scheme H which probably is an unknown URI scheme.
(Although some systems do choose to support all one letter URI schemes
essentially the same as the file:/// example above)

  document("../Includes/standardHeader.xslt")

that should work as a relative URI (from the stylesheet, not from the
soure,as it is a string, if you really went document(@href) with the URI
being in an attribute in the source file then it would be relative to
the base uri of the source file)

Of course a system can be fully conformant and not support _any_ URI
scheme in document() in which case document() isn't usable.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread