Bug #18079: unable to get value from file via document() xslt function
| From: | marcin dot antczak at e-dev dot pl | Date: | Sun, 30 Jun 2002 22:46:29 +0000 |
| Subject: | Bug #18079: unable to get value from file via document() xslt function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12609@lists.php.net to get a copy of this message | ||
From: marcin.antczak@e-dev.pl
Operating system: windows 2000
PHP version: 4.2.1
PHP Bug Type: XSLT related
Bug description: unable to get value from file via document() xslt function
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 bug report at http://bugs.php.net/?id=18079&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18079&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18079&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18079&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18079&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18079&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18079&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18079&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18079&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18079&r=globals