note 32897 added to function.xslt-process

From: Date: Tue, 10 Jun 2003 10:57:23 +0000
Subject: note 32897 added to function.xslt-process
Groups: php.notes 
Request: Send a blank email to php-notes+get-50090@lists.php.net to get a copy of this message
Thanks, Martin ! As a matter of fact, your way of doing is probably more logical than mine :) The point is that scheme handler strangely adds a slash to your URI , if it doesn't start by any slash. So if you call : document('http:www.url.com',page/@url) ...then $rest gets /www.url.com But if you call : document('http://www.url.com',page/@url) ...then $rest gets //www.url.com Another approach could consist in enclosing the scheme "http" in the XML attribute : <page url="http://www.w3.org/TR/REC-xml"> and simply doing a : $file = fopen("http:".$rest,"r"); It all depends on the context... See also : http://archive.gingerall.cz/archives/public/sablot2003/msg00598.html ---- Manual Page -- http://www.php.net/manual/en/function.xslt-process.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32897 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32897&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32897&report=yes

« previous php.notes (#50090) next »