[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: attributes and elements
From: "Bruce D'Arcus" <bdarcus@xxxxxxxxxxx>
Date: Sat, 6 Dec 2003 12:16:25 -0500

Answering my own question on this bit:


how would I extend my basic stylesheet to incorporate the levels?

<xsl:template match="*[@type='screen']" mode="filter-condition"> <xsl:choose> <xsl:when test="@userlevel='1'"> <bullet1> <xsl:apply-templates/> </bullet1> </xsl:when> <xsl:when test="@userlevel='2'"> <bullet2> <xsl:apply-templates/> </bullet2> </xsl:when> </xsl:choose> </xsl:template>


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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member