Re: attributes and elements2003-12-06 10:16:25Answering my own question on this bit: how would I extend my basic stylesheet to incorporate the levels? <xsl:template match="*[(_at_)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
|
|