You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Jay Balunas <ba...@netscout.com> on 2001/12/12 21:27:28 UTC

XML - HTML - having a problem compared to spec

Hey all,

     I am transforming a xml doc into HTML.  I am having legacy browser
support issues.

     In the Spec is says that if the method="html" that any <br/> elements
will be outputed without an ending tag.  What I keep getting is <br/> in
the HTML.

     Netscape 4.7 ingnores the <br/> and the page looks like crap.  when I
change all of the <br/> to <br> it works fine.

     <xsl:stylesheet version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
            xmlns="http://www.w3.org/TR/REC-html40"
            xmlns:xalan="http://xml.apache.org/xslt">

    <xsl:output method="html" media-type="text/html"/>

    So is this a new bug or what am I doing wrong.

Thanks,

Jay