note 69661 added to ref.xsl
| From: | adrian at foeder dot de | Date: | Thu, 14 Sep 2006 09:45:15 +0000 |
| Subject: | note 69661 added to ref.xsl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117150@lists.php.net to get a copy of this message | ||
If you want to use the document()-function inside your XSL stylesheet, please note that you have to
use an absolute path there.
Important for windows users: the absolute path *has* to be with forward slashes, so subsitute
windows-path-backslashes to forward slashes before you transform the document.
Examples:
This will NOT work:
<xsl:copy-of select="document('test.xml')" />
This will also NOT work:
<xsl:copy-of select="document('c:\temp\test.xml')" />
But this WILL work:
<xsl:copy-of select="document('c:/temp/test.xml')" />
----
Server IP: 212.124.37.9
Probable Submitter: 212.184.217.92
----
Manual Page -- http://www.php.net/manual/en/ref.xsl.php
Edit -- https://master.php.net/note/edit/69661
Del: integrated -- https://master.php.net/note/delete/69661/integrated
Del: useless -- https://master.php.net/note/delete/69661/useless
Del: bad code -- https://master.php.net/note/delete/69661/bad+code
Del: spam -- https://master.php.net/note/delete/69661/spam
Del: non-english -- https://master.php.net/note/delete/69661/non-english
Del: in docs -- https://master.php.net/note/delete/69661/in+docs
Del: other reasons-- https://master.php.net/note/delete/69661
Reject -- https://master.php.net/note/reject/69661
Search -- https://master.php.net/manage/user-notes.php