[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Netscape rendering of XSLT

  • From: Eric van der Vlist <vdv@d...>
  • To: xml-dev@X...
  • Date: Mon, 05 Jun 2000 09:46:07 +0200

xslt netscape
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.