I believe this is due to url http://exslt.org/functions returning 404 error
I had the same problem a few months back - could not find these functions, 
so had to work around using templates

hth,
Ken
----- Original Message ----- 
From: "Todd Jackson" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, November 24, 2008 4:15 PM
Subject: [phpug] Re: EXSLT node-set namespace problem


>
>
> Hi,
> I'm simply wanting to use the node-set function but I get "Namespace 
> prefix xlmns for exsl on stylesheet is not defined in line 3" which is my 
> header declarations as follows;
>
>
> <?xml version='1.0' encoding='utf-8'?>
> <xsl:stylesheet version="1.0" 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
> xmlns:xhtml="http://www.w3.org/1999/xhtml";
> xmlns="http://www.w3.org/1999/xhtml"; xlmns:exsl="http://exslt.org/common"; 
> xmlns:php="http://php.net/xsl"; xmlns:func="http://exslt.org/functions"; 
> extension-element-prefixes="func exsl" exclude-result-prefixes="NonHtml 
> func xhtml php exsl" 
> xmlns:NonHtml="http://www.progress.com/StylusStudio/NonHtml";>
>
> <xsl:output method="xml" version="1.0" encoding="UTF-8" 
> omit-xml-declaration="yes"
> doctype-public="-//W3C//DTD XHTML 1.1//EN" 
> doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"; 
> indent="yes"/>
>
> .....
>
> <xsl:variable name="years">
>   <xsl:for-each 
> select="COURSEDEFINITION/COURSEOCCURRENCES/COURSEOCCURRENCE/START_DATE">
>     <year><xsl:value-of select="."/></year>
>   </xsl:for-each>
> </xsl:variable>
>
> <xsl:value-of select="count(exsl:node-set($years)/year)"/>
>
>
> .....
>
>
> I'm using PHP 5.2.4 fast-cgi, IIS 5.1, libxml2 2.6.26, xsl/exslt support 
> enabled.
>
> Hoping someone can help?
>
>
> >
> 



--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to