This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
matching <br/> v. <br></br>
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] matching <br/> v. <br></br>
- From: Robert Koberg <rob at koberg dot com>
- Date: Wed, 31 Jan 2001 12:21:15 -0800
- References: <OF1D4EC15E.9BEF70A5-ON852569E5.006D86C2@pok.ibm.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
(using Xalan)
I have a basic template like so:
<xsl:template match="br | BR">
<br/>
</xsl:template>
If the XML contains just a <br/> tag it styles correctly with a single <br>.
If the XMl contains <br></br> then it produces two <br><br>.
Is this a bug or expected behavior? Is there a way around it?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list