This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Summary of "New to DocBook: XML or SGML, Clark or Open?"


"Prikryl,Petr" wrote:
> 
> * [edited...] there is a problem when HTML is generated
>   from XML.  The character encoding is not set inside the
>   generated HTML [...] Jade [...] SP_ENCODING=xml.

This is problem for both SGML and XML sources. You can add following
code into your DSSSL customization layer and proper <meta> tag will be
included in generated HTML.

(define %html-header-tags% 
  '(("META" ("HTTP-EQUIV" "Content-Type") ("CONTENT" "text/html;
charset=windows-1250"))))

If you use XSL stylesheets (this implies usage of XML DocBook), this
meta tag is inserted automatically by XSLT processor.

-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]