Re: [xsl] how to match <br/> tag

Subject: Re: [xsl] how to match <br/> tag
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 27 Jun 2002 15:51:01 +0100
You don't match tags in XSLT you match element nodes.
The name of the element is br <br/> is the tag markup for anempty
element it means the same as <br></br> the / is not part of the element
name. so
<xsl:template match="br"> b

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread