Re: xslt_process

From: Date: Sat, 15 May 2004 17:38:58 +0000
Subject: Re: xslt_process
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186326@lists.php.net to get a copy of this message
eoghan wrote:
hi, im using the xslt_process() function, but want to use a php file with generated xml content as the xml file i feed the function.... but it seems to complain that its a php file *Warning*: Sablotron error on line 22: XML parser error 4: not well-formed (invalid token) when i use a test xml doc is works fine... i have the header set as text/xml... anyone any ideas how i can use a php file with this function? thanks eoghan When you give a php script as input in this manner, it will not be parsed, compiled and executed as a result sablot gets php code as input. So instead of this approach how about calling the 'main' method in the php script from your xslt script
-- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits.

« previous php.general (#186326) next »