Hello,

I've used this sample code as well as the installation described at
http://shanx.com/php/xsl/getXsl.htm (using W2K, Apache 1.3.20, PHP
4.1.2.).

<?php
  // Create an XSLT processor
  $xsltHandle = xslt_create();

  // Perform the transformation
  $out = xslt_process($xsltHandle, getcwd().'test.xml',
getcwd().'test.xsl');

  // Detect errors
  if(!$out) die(xslt_error($xsltHandle));

  // Destroy the XSLT processor
  xslt_free($xsltHandle);
?>

The result is that Sablotron itself (command line) works fine but this
code produces
following error "XML parser error 4: not well-formed (invalid token)".

I would appreciate any hint. Thanx alot.
-- 
=================================
[NAME] jan walter [ALIAS] john
[COMPANY] lerach s.r.o.
[GSM] (+420)(777)31 99 31
[SMS] john.sms(at)mujoskar.cz
[EMAIL] john(at)lerach.cz
[ICQ] 28353428
=================================

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

Reply via email to