|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] What do brackets [ ] mean?
I posted a problem a few days or so ago, describing that I was trying to use: <xsl:choose>
<xsl:when test=". = 'Transaction_Type'">
Transaction Description
</xsl:when>
<xsl:otherwise>
<xsl:value-of />
</xsl:otherwise>
</xsl:choose>I received an error: Expected token 'eof' found '='. . -->=<-- 'Transaction_Type' and I thought it was because of the namespace that I was using: http://www.w3.org/TR/WD-xsl. (I know this is obsolete but the current version of software I am using requires me to do so.) However, a consultant came in and changed <xsl:when test=". = 'Transaction_Type'"> to <xsl:when test=".[. $eq$ 'Transaction_Type']"> and this worked! He just left (he was working an overnight shift), but I am anxious to know what the [ ] (with the dot inside it) means. Also, from what I understand a $ sign is used to get the value of a variable, but how about $eq$? Thanks in advance, -alex ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








