This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how to match <br/> tag
- From: "Vasu Chakkera" <vasucv at hotmail dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 27 Jun 2002 14:56:57 +0000
- Subject: Re: [xsl] how to match <br/> tag
- Reply-to: xsl-list at lists dot mulberrytech dot com
The element you are referring to is br not br/
<br/> just tells you that it is an empty(<br>) element..
you must understand that <br/> is a short form of <br></br>
so your code must read
<xsl:template match="br">
Vasu
From: "ashu t" <aashut@rediffmail.com>
Reply-To: xsl-list@lists.mulberrytech.com
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] how to match <br/> tag
Date: 27 Jun 2002 14:23:35 -0000
i am trying to convert html to wml using xslt
i have written style sheet for few tags but when i wrote
style sheet for <br/> it is giving error i have used
<xsl:template match="br/"> but it has given error then i tried
<xsl:template match="//br/"> but it is also giving error.
can any one suggest me what should be the code for that.
_________________________________________________________
There is always a better job for you at Monsterindia.com.
Go now http://monsterindia.com/rediffin/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list