|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: IF-Test.....continued
Well, match="book" won't match an element called <Book> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of laksh vr > Sent: 12 March 2002 11:29 > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: IF-Test.....continued > > > 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 > > 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








