Dejan Lekic wrote:
> I've noticed strange behavior in generated HTML pages. I allways get
> 
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> 
> in generated HTML page(s). I would like to have utf-8 there (for 
> charset). How, where, that can be changed?
> 

I guess that you are talking about HTML pages generated from DocBook 
documents using Norman Walsh's DocBook XSL StyleSheets.

If it is the case, the detailed anwser is found here: 
http://www.sagehill.net/docbookxsl/OutputEncoding.html

Now the XXE-specific part: how to to use an XSL stylesheet customization 
layer with XXE?

Please find attached to this email:
* mydocbook.xsl, a customization of html/docbook.xsl which generates 
single-page HTML.
* mydocbook.xxe which instructs XXE to use the above XSL stylesheet 
customization layer and which properly parametrizes the generation of 
multi-page HTML.

---
   <include location="xxe-config:docbook/docbook.xxe"/>

   <property name="docb.toHTML1.transform"
             url="true">mydocbook.xsl</property>

   <parameterGroup name="docb.toHTML.transformParameters">
     <parameter name="chunker.output.encoding">UTF-8</parameter>
     <parameter
       name="saxon.character.representation">native;decimal</parameter>
   </parameterGroup>
---

All this is documented here: 
http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch04s02s04.html

To test this, copy these files to XXE_install_dir/config/ 
(XXE_install_dir is C:\Documents and Setting\user\xxe2\ on Windows).

You need ***V2.7 Patch 1*** and above to make this work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mydocbook.xsl
Type: text/xml
Size: 464 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040920/160ed437/attachment.xsl
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mydocbook.xxe
Type: text/xml
Size: 634 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040920/160ed437/attachment.xml
 

Reply via email to