M
Martin Plantec
Hello,
I have managed (with your help!) to make a working XSLT stylesheet; it
works fine locally (Windows Apache + PHP with Sablotron 1.0), but it
fails on the remote host (FreeBSD Apache + PHP with Sablotron 1.0) with
the following:
Warning: Sablotron error on line 1: XML parser error 4: not well-formed
(invalid token) in /...host...path.../page.php on line 28
FAILURE : XML parser error 4: not well-formed (invalid token) ; error
code is 2
Line 28 (of page.php) is the line with the call to xslt_process, while
line 1 (of the stylesheet) reads:
<?xml version="1.0" encoding="iso-8859-1"?>
What can possibly be wrong?
Note: I have of course some PHP code which sets the correct directory
depending on the machine we are on (local or remote).
Thanks!
Martin
I have managed (with your help!) to make a working XSLT stylesheet; it
works fine locally (Windows Apache + PHP with Sablotron 1.0), but it
fails on the remote host (FreeBSD Apache + PHP with Sablotron 1.0) with
the following:
Warning: Sablotron error on line 1: XML parser error 4: not well-formed
(invalid token) in /...host...path.../page.php on line 28
FAILURE : XML parser error 4: not well-formed (invalid token) ; error
code is 2
Line 28 (of page.php) is the line with the call to xslt_process, while
line 1 (of the stylesheet) reads:
<?xml version="1.0" encoding="iso-8859-1"?>
What can possibly be wrong?
Note: I have of course some PHP code which sets the correct directory
depending on the machine we are on (local or remote).
Thanks!
Martin