Subject: [xsl] Problem with simple xsl:when test expression From: Phil Mitchell <philip_mitchell@xxxxxxxxxxx> Date: Tue, 03 Jul 2001 16:09:39 -0400 |
<xsl:choose> <xsl:when test="./restriction[@base='string']"> </xsl:when> </xsl:choose>
<simpleType name="MedlarsNameString"> </annotation> <restriction base="string"> </restriction> </simpleType>
<xsl:template match="xsd:simpleType"> <xsl:param name="elementName"/> <xsl:choose> <xsl:when test="@name='TextBlock'"> Do this.... </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="./restriction[@base='string']"> Print here. </xsl:when> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to sort a nodeset ref, Kumar Shailendra | Thread | Re: [xsl] Problem with simple xsl:w, Thomas B. Passin |
[xsl] How to sort a nodeset referen, Kumar . Shailendra | Date | Re: [xsl] test if string contains a, Thomas B. Passin |
Month |