RE: [xsl] Converting markup to non-markup

Subject: RE: [xsl] Converting markup to non-markup
From: "Satish, L. Gnanendra" <LGnanendra.Satish@xxxxxxxxxx>
Date: Thu, 12 Sep 2002 15:20:23 +0200
Hello all,
 I am very new to XML+XSLT. I have already done a rapid study of these which
is required for my project.
 My immediate query is:
 How do I compare an attribute from XML with a parameter defined in XSLT and
display some text.
 eg. code is:
 <xsl:variable name="TagVal"
select="OIDInfo/Message/MessageInfo/MsgLevel/TextString"/>        
 <xsl:choose>
   <xsl:when test='$TagVal=Cleared'> ////////////////// Check should be done
here ////////
     <font color="red"><xsl:value-of select="$text_83"/></font>
     </xsl:when>
     <xsl:otherwise>
       <font color="red"><xsl:value-of select="$text_67"/></font>
     </xsl:otherwise>
 </xsl:choose>

rgds,
Gnanendra.
- - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - - 
This e-mail and any attachments may contain information which is
confidential, proprietary, privileged or otherwise protected by law. The
information is solely intended for the named addressee (or a person
responsible for delivering it to the addressee). If you are not the intended
recipient of this message, you are not authorized to read, print, retain,
copy or disseminate this message or any part of it. If you have received
this e-mail in error, please notify the sender immediately by return e-mail
and delete it from your computer.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread