[xsl] matching <br/> v. <br></br>

Subject: [xsl] matching <br/> v. <br></br>
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Wed, 31 Jan 2001 12:21:15 -0800
(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


Current Thread