[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] IF-Test.....continued


Subject: [xsl] IF-Test.....continued
From: laksh vr <vrlaksh@xxxxxxxxx>
Date: Tue, 12 Mar 2002 03:28:50 -0800 (PST)

Well,i've enclosed the template rule which involves IF
test.


<xsl:template match="book">
	<xsl:if test="not(@ISBN)">
	    <xsl:attribute name="NOCODE">
	        <xsl:text>B01</xsl:text>
	    </xsl:attribute>
	 </xsl:if>   
</xsl:template>

The Book element has the following format
<Book NAME="book-name" AUTHOR="author-name"
ISBN="91-6637-401-7"/>



__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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



Current Thread