xsl-list
[Top] [All Lists]

Re: XmlSpy [OT]

2005-07-13 03:57:13

  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
________________________________________________________________________

--~------------------------------------------------------------------
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>
  • XmlSpy [OT], Joe Fawcett
    • Re: XmlSpy [OT], David Carlisle <=