xsl-list
[Top] [All Lists]

Re: Problem with case-sensitivity

2003-10-01 02:05:47
hehe np my fualt too i din't notice :P

thanks a lot!
----- Original Message ----- 
From: "Emmanouil Batsis" <Emmanouil(_dot_)Batsis(_at_)eurodyn(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Friday, October 01, 2004 11:04 AM
Subject: Re: [xsl] Problem with case-sensitivity


Luke Ambrogio wrote:

thanks alot, that explains it but something else is going wrong now

<xsl:param name="upperCase" select="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
<xsl:param name="lowerCase" select="abcdefghijklmnopqrstuvwxyz"/>
<xsl:value-of select="$upperCase" />
<xsl:value-of select="$lowerCase"/>

outputs nothing, any ideas?
 


Right, the value of the select attribute is evaluated as an XPath 
expression looking for an element name of ABC...

You actually have to let XPath know you are talking about a string, not 
an element name (note the quotes)

<xsl:param name="upperCase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>

or 

<xsl:param name="upperCase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:param>

sorry about that :-)

Manos



--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--




<Prev in Thread] Current Thread [Next in Thread>