xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

testing an attribut


Subject: testing an attribut
From: "Franz Figl" <frafi@xxxxxxxxxx>
Date: Mon, 27 Mar 2000 23:16:56 +0200

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



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor