|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] testing an attribut
Could anybody give me the proper syntax for testing an attribute? Thanks.
The following example will not work with my renderer, what is wrong?
<xsl:template match="Fliesstext.Body">
<xsl:choose>
<xsl:when test='{attribute(Folge)} = 1'>
<TD font-family="Times" font-size="9pt" text-align="justify"
width="{attribute(Einzug)}" >
<xsl:apply-templates/>
</TD>
</xsl:when>
<xsl:otherwise>
<TD font-family="Times" font-size="9pt" text-align="justify" width="*" >
<xsl:apply-templates/>
</TD>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
Franz
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








