Taylor Ren wrote: > > Now a slight one: the output of the XHTML is not very well formatted. In my > Firefox, it reads like: > > <html > xmlns="http://www.w3.org/1999/xhtml"><head><title>?XXE??DocBook</title><link > rel="stylesheet" href="html.css" type="text/css"/><meta name="generator" > content="DocBook XSL Stylesheets V1.73.1"/><link rel="start" > href="index.html" title="?XXE??DocBook"/><link rel="next" href="ar01s01.html" > title="1. XXE?????"/></head><body><div class="navheader"><table width="100%" > summary="Navigation header"><tr><th colspan="3" > align="center">?XXE??DocBook</th></tr><tr><td width="20%" align="left"> > </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a > accesskey="n" href="ar01s01.html">Next</a></td></tr></table><hr/></div><div > class="article" lang="en"><div class="titlepage"><div><div><h2 > class="title"><a id="d0e1"/>?XXE??DocBook</h2></div><div><div > class="author"><h3 class="author"><span class="firstname">Taylor</span> <span > class="surname">Ren</span></h3><div class="affiliation"><span > class="orgname">Somewhere On Earth<br/></span></div></div></di v><div><p class="pubdate">2008.09.27</p></div></div><hr/></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ar01s01.html">1. XXE?????</a></span></dt><dt><span class="section"><a href="ar01s02.html">2. ???DocBook</a></span></dt><dt><span class="section"><a href="ar01s03.html">3. ????????</a></span></dt><dt><span class="section"><a href="ar01s04.html">4. ????</a></span></dt><dt><span class="section"><a href="ar01s05.html">5. ??????????</a></span></dt></dl></div></div><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> 1. XXE?????</td></tr></table></div></body></html> > > A very long, long line, isn't it? > > Any way to improve the output? >
In addition to what you have already done, you need now to specify parameter chunker.output.indent="yes" to the XSLT style sheet that converts DocBook to multi-page XHTML. In order to do this, using the Professional or Evaluation Edition: [1] Open the document you want to convert to activate the right configuration. [2] Select menu item Options|Customize Configuration|Change Document Conversion Parameters. [3] Select "Convert to multi-page HTML" using the combobox found at the top of the dialog box. [3] Click on Add [4] Specify chunker.output.indent as the name of the parameter and yes as the value of the parameter (an integer value such as 2 should work but does not work--I've tested that). [5] Click OK. [6] Click OK. This parametrization is done once for all. Note that all these tricks are not directly related to our product, XMLmind XML Editor, an XML *authoring* tool. These tricks are related to the DocBook XSL style sheets. More information in: * DocBook XSL Stylesheet Reference Documentation by Norman Walsh. http://docbook.sourceforge.net/release/xsl/current/doc/ * DocBook XSL: The Complete Guide by Bob Stayton. http://www.sagehill.net/docbookxsl/

