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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to