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]

<BR> a problem for XALAN?


>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

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