Osborne, Brian wrote: > I'm creating a single XHTML document from my DocBook XML, so I changed my > browser to view as UTF-8, as you suggested, and it now displays fine. Even > so, I can't expect everyone who reads the documentation to have UTF-8 set in > their browser, so a single-XHTML solution would be a "nice to have".
Sure. This problem is not difficult to solve but you cannot do it using a dialog box (in my previous email, I explained that you can do that using a dialog box for *multi-page* XHTML). You need to customize the XSLT style sheet that generates the single XHTML page. > I have one further question... > > I want a table of contents, but I am creating a very large XHTML technical > help file, so I would like it to appear in a floating div on the left of the > page, with the content displayed in a floating scrolling div on the right of > the page. Therefore, the table of contents will always be present as the user > scrolls through the help document (and when they click links from within the > toc, the toc will still be on the screen). > > Is there anyway I can get the single-XHTML translation to create two main > divs, putting in toc in the first div and the rest of the document in the > second div? Also, I would want to be able to assign attributes to the divs, > such as style="float:left; width=30%" and style="float:right; width=70%" and > probably also put some styling around the toc to give it a border and > background colour. > > If there some on-line help explaining how to do this then maybe you could > send me the uri? Once again, you need to customize the XSLT style sheet that generates the single XHTML page. See DocBook XSL Stylesheet Reference Documentation by Norman Walsh. http://docbook.sourceforge.net/release/xsl/current/doc/ See DocBook XSL: The Complete Guide by Bob Stayton. http://www.sagehill.net/docbookxsl/ --- PS: How to *integrate* a customized XSLT style sheet in XXE is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html

