OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC