Added base-uri() function replacing the undocumented saxon:base-uri()
Is this saxon specific please Mike?
No mention in xpath or xslt 2.0 ?
I recall your practice had been to put extensions into
the saxon ns, yet here you are removing it.
If I want to set the base to "file:/C:/sgml/files/trash.xml"
How do I do that please?
Such that all relative uri's will be relative to that base?
NOTICE: The information contained in this email and any attachments is
confidential and may be legally privileged. If you are not the
intended recipient you are hereby notified that you must not use,
disclose, distribute, copy, print or rely on this email's content. If
you are not the intended recipient, please notify the sender
immediately and then delete the email and any attachments from your
RNIB has made strenuous efforts to ensure that emails and any
attachments generated by its staff are free from viruses. However, it
cannot accept any responsibility for any viruses which are
transmitted. We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email
and any attachments are those of the author and do not necessarily
represent those of RNIB.
RNIB Registered Charity Number: 226227
From: Michael Kay <michael.h.kay@nt...> - 2002-01-02 15:08:43
> saxon7\doc\changes.html says
> Added base-uri() function replacing the undocumented saxon:base-uri()
> extension function
> Is this saxon specific please Mike?
> No mention in xpath or xslt 2.0 ?
No, it's standard XPath 2.0, though well hidden: it's in the F&O document
http://www.w3.org/TR/xquery-operators/, in the list of accessors in section
2. The Saxon implementation isn't quite as described; it accepts any node as
input, and returns a string, not an anyURI.
> If I want to set the base to "file:/C:/sgml/files/trash.xml"
> How do I do that please?
> Such that all relative uri's will be relative to that base?
You can set the base URI of an element using