Just wanted to add that it did work fine in Xalan 1 but xalan 2 seems to
have a problem, but I could not find a bug on it.  Wanted to make sure I
was not doing something wrong.

Thanks
Jay


                                                                                
                                                           
                    "Jay Balunas"                                               
                                                           
                    <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]          
                                                    
                    cout.com>            cc:                                    
                                                           
                                         Subject:     XML - HTML - having a 
problem compared to spec                                       
                    12/12/2001                                                  
                                                           
                    03:27 PM                                                    
                                                           
                                                                                
                                                           
                                                                                
                                                           




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








Reply via email to