You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Steve Muench <St...@oracle.com> on 2000/10/30 23:03:14 UTC

Re: Preventing arithmetic parsing of expressions that look like arithmetic

Use single quotes for a literal number...

So instead of:

| <xsl:param name="season" select="2000-01"/> <!-- default season -->

Use:

<xsl:param name="season" select="'2000-01'"/>

______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly
http://www.oreilly.com/catalog/orxmlapp/