ID:               16228
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Documentation problem
 Operating System: Windows XP
 PHP Version:      4.1.2
 New Comment:

I am also having this problem.  However, I don't think this should be
considered a documentation problem.  I should be able to use relative
paths when performing XSL transformations, and I can't.  In my opinion,
having to specify an explicit path is not a good solution.  I don't
have to use an explicit path when using include() and shouldn't when
using XSLT either.

Thanks,

Mark


Previous Comments:
------------------------------------------------------------------------

[2002-04-09 16:21:14] [EMAIL PROTECTED]

recategorizing as documentation problem.

------------------------------------------------------------------------

[2002-03-25 14:41:36] [EMAIL PROTECTED]

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

------------------------------------------------------------------------

[2002-03-22 22:04:42] [EMAIL PROTECTED]

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

Reply via email to