Re: Problem with XSLT Sablotron

From: Date: Thu, 12 Feb 2004 15:54:29 +0000
Subject: Re: Problem with XSLT Sablotron
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177523@lists.php.net to get a copy of this message
Hi, I believe it's hiccuping at this: <msxsl:script language="JScript" implements-prefix="user"> <![CDATA[ function EscapeURL(selection) {
    if (selection(0) == null)
      return "";
    else if (selection(0).hasChildNodes())
      return escape(selection(0).childNodes(0).nodeTypedValue);
    else
      return escape(selection(0).nodeTypedValue);
} ]]> </msxsl:script> not being an expert on the MS XML api i not in a position to help you further. you should send this to an XSLT list. Juan Torres wrote:
Hi, When I run my php file, this error message is shown: Warning: Sablotron error on line 27: function 'user:EscapeURL' not supported in c:\inetpub\wwwroot\projects_php\testing\test_xsl.php on line 7 Sorry, sample.xml could not be transformed by sample.xsl into result.xml the reason is that function 'user:EscapeURL' not supported and the error code is 51 Can anybody help me? I cann't solve this error. Thanks very much! Juan Torres. PS: Excuse me, my english is bad :(
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.

« previous php.general (#177523) next »