xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Cohen <Ste...@ignitemedia.com>
Subject Preventing arithmetic parsing of expressions that look like arith metic
Date Mon, 30 Oct 2000 21:44:54 GMT
I define a parameter in a stylesheet:

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

When I output the value of "$season" somewhere, I get "1999".  It is
performing the subtraction it thinks I want.  Is there some way to prevent
this from happening?  I want to have a single parameter, called "season" to
be interpreted as a string.

Steve Cohen
Sr. Software Engineer
Ignite Sports Media
stevec@ignitemedia.com 

Mime
View raw message