This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how to match <br/> tag
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 27 Jun 2002 15:51:01 +0100
- Subject: Re: [xsl] how to match <br/> tag
- References: <20020627142335.10824.qmail@mailweb34.rediffmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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