[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]


a problem for XALAN?


Subject: <BR> a problem for XALAN?
From: keshlam@xxxxxxxxxx
Date: Thu, 10 Aug 2000 15:59:57 -0400

>However, I have found that for some reason XALAN does not
>like any form of <br/> not matter how you type it.  I tried
><br />, <br></br>, and <br/>.

To XML , all three of those are _identical_. The space inside the tag, or
the division into open and close tags, is not meaningful.

If you tell Xalan (or any other XSLT processor) that you want to output
HTML rather than XML, the serializer _should_ recognize the br element  and
output a version that will work with browsers -- most likely the <br />
version.

NOTE HOWEVER that XML is case-sensitive. I don't remember whether HTML is
officially uppercase or lowercase, but I wonder whether the version you're
using doesn't match the version which is being detected.

______________________________________
Joe Kesselman  / IBM Research



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



Current Thread
Keywords