This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to match <br/> tag


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]