[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Simpler XHTML output
Rene Hache wrote: > Please reply, comment make suggestions. I have never written something > this nature but willing to get the ball rolling. > > 1. The XHTML output will comply with the W3C XHTML 1.1 recommendation, Using XHTML 1.1 is not good idea because: 1) it must be labelled as MIME type text/xml, application/xml or application/xhtml+xml per specification 2a) XML parser in IE chokes on XHTML DTD when page is served as text/xml 2b) IE doesn't render page when it is sent as application/*, in this case IE offers saving to file Pragmatical approach is to use XHTML 1.0 that can be labelled as text/html when HTML compatibility mode is used. > 5. The only DIV to be created inside the main content will be for > admonitions, sidebar and highlights. Why? That way you will not be able to control rendering of whole section or titlepage for example. Current stylesheets wrap these structures inside <div class="section"> or <div class="titlepage"> respectively. -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz ------------------------------------------------------------------ Profesionální školení a poradenství v oblasti technologií XML. Podívejte se na náš nově spuštěný web http://DocBook.cz Podrobný přehled školení http://xmlguru.cz/skoleni/ ------------------------------------------------------------------
S/MIME Cryptographic Signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]