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]

matching <br/> v. <br></br>


(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


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