Subject: Re: [xsl] select the attribute II, compare the atrribute From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx> Date: Fri, 12 Sep 2003 14:33:08 +0100 |
From: "Dionisio Ruiz de Zarate" <dionisio@xxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] select the attribute II, compare the atrribute Date: Fri, 12 Sep 2003 14:54:22 +0200
i have, in one XML file this: <id_mensajesforos seleccionado="si">46</id_mensajesforos>
how can i determine the attribute value? for this i am making this: xsl:choose> <xsl:when test="id_mensajesforos[@seleccionado='si']"> s </xsl:when> <xsl:otherwise>n</xsl:otherwise> </xsl:choose>
but it doesn't run well. can you help me for knowing if the seleccionado attribute value is "si or no? thanks
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Embedding javascript with xsl, Abhijit Junnare | Thread | [xsl] finding "empty" text nodes wh, Kathy Burke |
Re: [xsl] select the attribute II, , David Carlisle | Date | Re: [xsl] select the attribute II, , Mukul Gandhi |
Month |