[PHP] FW: xslt_process() error
Hi All, I am trying to replicate a ColdFusion custom tag I wrote for transforming an XML doc with XSLT and having major problems. When I use xslt_process() I get the following error: Warning: Sablotron error on line 1: XML parser error 4: not well-formed (invalid token) in The XML XSL files all display correctly in browsers and it all works with CF, what can the problem be? I have read articles about a bug in the Sablotron libraries so the XSL file must not have any headers, this makes no difference. Can anyone help? Thanks in advance, --- Phil Ewington 43 Plc - Ashdale House 35 Broad Street, Wokingham Berkshire RG40 1AU T: +44 (0)1189 789 500 F: +44 (0)1189 784 994 E: mailto:[EMAIL PROTECTED] W: www.soyouthink.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.3 - Release Date: 03/05/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] FW: xslt_process() error
Phil Ewington - 43 Plc wrote: Hi All, I am trying to replicate a ColdFusion custom tag I wrote for transforming an XML doc with XSLT and having major problems. When I use xslt_process() I get the following error: Warning: Sablotron error on line 1: XML parser error 4: not well-formed (invalid token) in The XML XSL files all display correctly in browsers and it all works with CF, what can the problem be? I have read articles about a bug in the Sablotron libraries so the XSL file must not have any headers, this makes no difference. Can anyone help? only in so much as to strongly advise you use php5 (assuming its an option for you) if you intend to write some 'heavy' XML related [php] code - the XML related stuff is completely overhauled and many times better than the functionality offered by php4 besides which it will provide better future-proofing of your code . Thanks in advance, --- Phil Ewington 43 Plc - Ashdale House 35 Broad Street, Wokingham Berkshire RG40 1AU T: +44 (0)1189 789 500 F: +44 (0)1189 784 994 E: mailto:[EMAIL PROTECTED] W: www.soyouthink.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.3 - Release Date: 03/05/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php