cvs: phpdoc /en/reference/xslt/functions xslt-set-base.xml
| From: | Roy Huggins | Date: | Sun, 29 Dec 2002 07:03:56 +0000 |
| Subject: | cvs: phpdoc /en/reference/xslt/functions xslt-set-base.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969350476@lists.php.net to get a copy of this message | ||
royhuggins Sun Dec 29 02:03:56 2002 EDT
Modified files:
/phpdoc/en/reference/xslt/functions xslt-set-base.xml
Log:
Noted new behavior regarding default base URI.
Index: phpdoc/en/reference/xslt/functions/xslt-set-base.xml
diff -u phpdoc/en/reference/xslt/functions/xslt-set-base.xml:1.3
phpdoc/en/reference/xslt/functions/xslt-set-base.xml:1.4
--- phpdoc/en/reference/xslt/functions/xslt-set-base.xml:1.3 Tue Nov 26 16:16:53 2002
+++ phpdoc/en/reference/xslt/functions/xslt-set-base.xml Sun Dec 29 02:03:55 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/xslt.xml, last change in rev 1.3 -->
<refentry id="function.xslt-set-base">
<refnamediv>
@@ -16,12 +16,17 @@
<para>
Sets the base URI for all XSLT transformations, the base URI is used
with Xpath instructions to resolve document() and other commands which
- access external resources.
+ access external resources. It is also used to resolve URIs for the <xsl:include>
+ and <xsl:import> elements.
</para>
- <note>
- <simpara>
- Please note that <emphasis>file://</emphasis> is needed in front of path if you
use Windows.
- </simpara>
+ <para>
+ As of 4.3, the default base URI is the directory of the executing script. In effect, it is the
+ directory name value of the <constant>__FILE__</constant> constant. Prior to 4.3,
the default base URI was less predictable.
+ </para>
+ <note>
+ <simpara>
+ Please note that <emphasis>file://</emphasis> is needed in front of path if you
use Windows.
+ </simpara>
</note>
</refsect1>
</refentry>