[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Netscape rendering of XSLT
Simon Pockley wrote: > > I'm using a table to display xml data and xt to transform into HTML so that > people can see it in Netscape. > > Does anyone know of a reason why a <br/> within <td> (post transform) is not > recognised by Netscape? Because it's not a correct HTML tag and that most of the "older" browsers do not recognize <br/> (they are waiting for <br> and will accept <br /> though). This case is listed with other similar in the appendix C (HTML compatibility guidelines) of the XHTML 1.0 recommendation (http://www.w3.org/TR/xhtml1/#guidelines). To make your output work, you can either : - select HTML as your output method (this will generate HTML instead of XML, removing the closing tags for the "br" element). - use the XHTML output handler available on 4xt (http://4xt.paris.dyomedea.com/downloads/examples/outputhandlers/xhtml/) which will generate XHTML compliant with the compatibility guidelines. > Seems to work in I.E. OK. > > I must be missing something? Not at all, its a question which anyone wanting to generate XHTML has to face. > Hope this is not too basic for this list? I don't think so ;) > Best > Simon Pockley > Hope this helps. Eric -- ------------------------------------------------------------------------ Eric van der Vlist Dyomedea http://dyomedea.com http://xmlfr.org http://4xt.org http://ducotede.com ------------------------------------------------------------------------ *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|