Bug #18079 Updated: unable to get value from file via document() xslt function

From: Date: Wed, 03 Jul 2002 12:34:25 +0000
Subject: Bug #18079 Updated: unable to get value from file via document() xslt function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12975@lists.php.net to get a copy of this message
ID: 18079 Updated by: sterling@php.net Reported By: marcin.antczak@e-dev.pl -Status: Open +Status: Bogus Bug Type: XSLT related Operating System: windows 2000 PHP Version: 4.2.1 New Comment: this would be a sablot issue either way... try setting the document base for transformations or specifying an absolute path. Previous Comments: ------------------------------------------------------------------------ [2002-06-30 18:46:28] marcin.antczak@e-dev.pl I have files: test.xml, test2.xml and test.xsl and in xslt there is: <xsl:value-of select="document('test2.xml')//root/@value"/> and xslt_process($xh, $xmlFile, $xslFile works ok - there is a value taken via document() function in output but when I'll assign data from test.xml and test.xsl to strings then in output of: xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL, $args); there is no value from file referenced via document() function.... :( ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18079&edit=1

« previous php.bugs (#12975) next »