Subject: Re: how to match <br/> tag
From: Gustaf Liljegren <gustaf.liljegren@xxxxxx>
Date: Thu, 27 Jun 2002 17:08:36 +0200
|
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
|