|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2003-12-22 11:28 UTC] iliaa@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ php_xsl xsltProcessor->transformToUri not working (win). php 5.0.0 beta3 apache 2.0.48 windows 2000 Reproduce code: --------------- <?php $xml = new domDocument; $xml->loadXML('<root>test</root>'); $xsl = new domDocument; $xsl->loadXML('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/"><xsl:value-of select="root"/></xsl:template></xsl:stylesheet>'); $pro = new xsltProcessor; $pro->importStylesheet($xsl); $pro->transformToUri($xml,'test.txt'); print file_get_contents('test.txt'); ?> Expected result: ---------------- test Actual result: -------------- Warning: file_get_contents(test.txt) [function.file-get-contents]: failed to open stream: No such file or directory in C:\doc\usr\_www\xsl\index.php on line 9