RE: [xsl] Creating List with xsl:function

Subject: RE: [xsl] Creating List with xsl:function
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 17 Nov 2006 23:26:17 -0000
> [count($node/ansestor::olist) mod 5 + 1] "/>

> I receive this error:
> 
> "Invalid XPath 2.0 expression Unexpected token. Probably 
> missing valid axis name before '::'  - "::ACM:list) mod 5 + 1] ""

The correct spelling is "ancestor".

Michael Kay
http://www.saxonica.com/

Current Thread