This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how to match <br/> tag
- From: Gustaf Liljegren <gustaf dot liljegren at xml dot se>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 27 Jun 2002 17:08:36 +0200
- Subject: Re: [xsl] how to match <br/> tag
- Reply-to: xsl-list at lists dot mulberrytech dot com
ashu wrote:
>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
The / is not part of the element name. It is used in the markup so that the
element has no content. Try match="br".
Gustaf
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list