Bug #16228 Updated: XSLT file path issues

From: Date: Mon, 25 Mar 2002 19:41:38 +0000
Subject: Bug #16228 Updated: XSLT file path issues
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3310@lists.php.net to get a copy of this message
ID: 16228 Updated by: hash@huasing.com Reported By: shanx@shanx.com Status: Open Bug Type: XSLT related Operating System: Windows XP PHP Version: 4.1.2 New Comment: not really a but, this should work. file://c:/apache/htdocs/xsltest/1.xsl i don't mind prefixing the extra "file://", but at least this should be documented Previous Comments: ------------------------------------------------------------------------ [2002-03-22 22:04:42] shanx@shanx.com I have installed sablotron (as indicated here: http://shanx.com/php/xsl/getXsl.htm) and XSLT itself seems to be working. However, I have a problem with file paths, or rather where I need to put the XSL and the XML files. My directory structure is like this: webroot = c:\apache\htdocs phproot = c:\apache\php Let us say that I try my XSLT samples in: c:\apache\htdocs\xsltest (sample code at the link above) I try putting my xsl files (1.xsl, 1.xml) into this folder but it doesnt work and gives me an error that tells me that the files cannot be found in "c:\apache\php". Which is the phproot! When I put the files in "c:\apache\php" (phproot) it works. Why does php_xslt.dll expect the files to be in PHP root rather than the document folder? How can i change this to be able to pick up files from the document root ("htdocs/xsltest" in my example) itself? Thanks, Shanx ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16228&edit=1

« previous php.bugs (#3310) next »