DHTML-enabled DocBook-Slides
If you would like to review the example, you should use an modern Browser like Internet Explorer or even better Mozilla with a screen resolution of at least 1024X768 pixels and fullscreen display turned on. By pressing the space-key you can navigate to the next foil. Other navigation options include:
- SPACE
- Go to next slide
- n
- Go to next slide
- p
- Go to previuos slide
- LEFT-ARROW
- Go to next slide
- RIGHT-ARROW
- Go to previous slide
- 12+RETURN
- Go to slide #12 (you can also type any other number)
- 3+n
- Go 3 slides forward
- 3+p
- Go 3 slides backward
- t
- Show table of contents
Download
A Zipfile with an XSL-Stylesheet, JavaScript for switching the slides and CSS for making the stuff look good can be found here:- dhtml-slides-xsl-0.99.zip
- 11-06-2003: Fixes Mozilla printing bug #133490 (Alexander Klimetschek)
- dhtml-slides-xsl-0.98.zip
- 10-06-2003: Initial release, but not announced
Customization
You can customize the slides by- replacing the files resources/biglogo.png and resources/smalllogo.png with your organization's logos.
- Modifying the CSS
- Setting the parameters event (which will control the footer line in the slides) and altlogo (which will set an alternate text for the logos)
Enhancements
The Stylesheets can make use of my Saxon extension for syntax-highlighting code in programlistings. You juat need to install the extension and have the conf dir under the directory from where you start saxon.If you are using Mozilla, you can create good-looking printouts from the slides by printing on landscape oriented paper with a margin of 0 on all borders.
Sidenotes in XHTML
Best of all, he shows how to enable these sidenotes in Gecko-based Browsers (Netscape 6/7, Mozilla, Camino, Galeon...) and Apple's Safari, that has just gone 1.0. This feature works completely without any JavaScript, it is plain CSS3.[via dfc]
DocBook XSL: Two column-solution for PDF
To overcome this problem, and to have the possibility of using FOP for the elaborations of an University lecture, Alexander Klimetschek and me created a small java program, that will read a XSL:FO-file with incorrect placement of span="all" and create one with correct placement. At the beginning of this article you can see a screenshot the result.
How does it work?
The program works very generic. You can search for elements by entering an XPath define, in a configuration-file, namespaces and special attributes and then perform following transitions to the document for the first element that matches the XPath: A document fragment that looks like thisWith this behaviour we can find elements that contain the attribute span="all" and are not direct children of <fo:flow>. The program will continue to split and move, until no single mis-placed element remains.
How do I use it?
You will need a Java Runtime Environment installed on your machinhe in oder to run this program, because it was written in Java. Next you need to download the program package and install it anywhere.It is called as following:
java -jar xmlflatener.jar [-c CONFIG.FILE] [-o OUTPUT] XPATH INPUT The distribution conains a configuration file config.properties which fits well for XSL:FO. The XPath expression that adresses the problem described above is //fo:flow/*/fo:block[attribute::span='all'], so that the resulting command to convert file wrong.fo into file correct.fo would be:
java -jar xmlflatener.jar -c config.properties -o correct.fo "//fo:flow/*/fo:block[attribute::span='all']" wrong.fo
When I use it with Apache FOP, FOP complains about duplicate ids
This is a bug in Apache FOP, because there are actually no duplicate ids, because the configuration prevents ids from being copied into the upper and into the lower virtual parent element, they are only copied to the upper element.If you experience this problem, you should download the patched FOP, that Alexander Klimetschek has created. It will simply ignore the error messages and continue rendering.
Surpressing Doctypes
1:<?xml version='1.0'?> 2:<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3: version='1.0' 4: xmlns="http://www.w3.org/TR/xhtml1/transitional" 5: xmlns:saxon="http://icl.com/saxon" 6: xmlns:lxslt="http://xml.apache.org/xslt" 7: xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" 8: xmlns:exsl="http://exslt.org/common" 9: exclude-result-prefixes="#default"> 10: 11:<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.60.1/xhtml/chunk.xsl"/> 12: 13:<xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/> 14:<xsl:param name="chunker.output.standalone" select="'no'"/> 15:<xsl:param name="chunker.output.doctype-public" select="''"/> 16:<xsl:param name="chunker.output.doctype-system" select="''"/> 17:<xsl:param name="chunker.output.media-type" select="''"/> 18: 19:</xsl:stylesheet>You will have to, of course, edit the import-statement on line 11 to your local copy of the DocBook-XSL-Stylesheets or to http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
DocBook XSL: the complete Guide (second Edition)
This book is a must-read for everyone working with DocBook and the DocBook-Stylesheets.
DocBook Build Management
Syntext Serna 1.0 and XMLmind XXE 2.5
Syntext Serna 1.0
Serna is developed by Syntext, an American company and is unique, because it is the world's first WYSIWYG-editor that uses XSLT and XSL:FO to render the document. While editing, a XSLT engine will transform the edited XML buffer into XSL:FO which will be rendered on the fly to the editing window. The effect is that your XML document appears more or less in the same way as it may look if you print it. More or less, because the XSL:FO engine does not implement every detail of the specification (but a reasonable amount, even tables with row- and columnspans) and it displays metainformation that would not be visible in the printed document. Usability: The XML editor is written in C++, using the QT library, so the application is quite fast and integrates well into the desktop environment (It does not pick up qt or kde-styles, though). It will work under Windows, Linux and Mac OS X. You can edit the document using keyboard shortcuts and menu entries, so you can be very quick after a short learning span. Additional features: Serna includes a spell-checker (based on aspell, which is good), modularization of documents with the means of external entities and publishing to HTML and PDF using RenderX XEP or Apache FOP is XSL:FO-engine. Supported XML vocabularies: Serna includes stylesheets for DocBook, the Darwin Information Typing Architecture and, in the near future, TEI. It is also possible to add own XSL-stylesheets to support custom vocabularies. Extensibility and customizability: You can customize Serna's user interface by adding or removing menu items and toolbar item through a XML-based user interface description. Additionally there is support for Python scripting. Pricing and availability: Currently there is no pricing information available, but you can register for a free 30-day fully functional evaluation version.XMLmind XML Editor 2.5
XMLmind XML Editor (XXE) is a structured document editor, developed by Pixware, a small french software developing company. It uses CSS to style the document and it's CSS engine adds some very powerful extensions to CSS to make it possible to edit both XML document formats (like DocBook), but also XML application formats (e.g. time tables). Unlike Serna it is strictly structure-oriented, so it will convert all internal entities to their corresponding value and offers no code view. Usability: the program is written in Java, which makes it available for every platform that has a Java VM (like Windows, Linux, Mac OS X), but results in limitations concerning the desktop integration (different look and feel, no drag and drop for Linux) and the speed of the application. All editing commands can be reached via menu items or keyboard shortcuts and modeless dialogs, which makes working with it really easy, especially if you have learned the important editing and navigation shortcuts. The set of editing commands is more fine-grained than Serna's which is good, if you know what you want to do and bad if you are fightened by more than ten items in a menu. Additional features: XXE has an integrated spell checker, which is as usable as Serna's (it also has features like "skip checking this element", which is very useful for skipping programlistings), but the dictionary seems to be smaller. The editor has very good support for modularized documents using external entities and XInclude. The professional version makes it even possible to edit document parts that are in different files. Supported XML vocabularies: XXE has support for DocBook, XHTML, DocBook Slides and simplified DocBook. It is also possible to add support for custom vocabularies by proving a matching CSS stylesheet. XXE allows it to convert the current document to HTML and to PDF (using a plugin which is available only for the professional version) Extensibility and customizability: XMLmind XML editor is very customizable. You can write extensions in Java and modify the configuration for each vocabulary to add custom action when adding or changing elements. There is a extensive guide for developers who want to customize XXE, and if you buy the professional version you will also get the source code. Pricing and availabilityThe standard edition is available for free, but it has some limitations, the professional version is available starting at 220 USD/EUR and offers source code and free updates. The professional edition does also offer sophisticated distribution and deployment solutions for larger organizations.DocBook Slides to Keynote Presentation
The underlying file format of Keynote is XML and thus it is possible to create, given the content in DocBook XML and the styling in form of an empty Keynote presentation, complete presentations for Keynote,
The DTD and Stylesheets for DocBook Slides can be downloaded from sourceforge.net.
Longhorn's new Help System
For Longhorn the help system will rely on a new XML-based markup-language called MAML (Microsoft Assistance Markup Language) which will offer semantic markup instead of presentational markup which is common for HTML. The authors will not mark up how the text potion should be displayed, but what it represents,
Other features of the new markup language are very similar to what is known from DocBook or DITA: conditional markup and reusable content.
The next version of the Windows operating system is scheduled for release in two years, but if you are creating online documentation for the windows platform, you should take a look at "Microsoft 'Longhorn' Help Highlights" by WritersUA and the Longhorn Help Authoring Guide, which is still incomplete and subject to changes, but it shows the basic principles of the new help system. [via Gary Conroy]
DocBook NG - first preview
Writing with XML
XML Schema Documentation
The xs3p - XML Schema Documentation Generator is a web-based documentation generator which creates nice single-page output and Bluetetra Soft offers a Java-based documentation generator which creates hyperlinked multi-page output.
Great List of Technical Writing Resources
Extreme Writing
Collaborative Editing for Text Editors
The next implementation will be an Eclipse plugin and later perhaps a VIM extension.
Currently the protocol uses an editing token that will be handed over to the current editor, in oder to start editing you will need to grab the token and release it after editing. Future version will support automatic token passing which will make the dynamic editing transparent to the user and it will appear as if two persons can edit the same document at a time.
The website also offers an interesting list of resources on collaborative real-time editing.
DocBook-XML Buch von SuSe Press
Top Ten Myths in Technical Communication
Is DocBook Easy To Use?
Norman Walsh says yes:I've been spending three weeks in XML hell.
In and amongst all my other work duties, I've been trying to develop a single-source XML based document publishing toolchain. A "solution", if you will, that will allow me to write documents in a layout-agnostic way based on document structure that can then be processed and published to whatever format I want or need: PDF, Microsoft Word, HTML, etc.
I'm surprised at the lack of integration and easy-to-use tools that seems to exist in the XML authoring world. I would have thought that by now, someone would have put together a package that approaches the sort of Microsoft Word/Corel WordPerfect model of authoring, but XML based, say with DocBook, but it doesn't seem to have been done. High-quality Windows-native XML editors with an authoring/publishing focus (as opposed to an IDE model) are rare, and I haven't found a free or open source editor yet that's reasonably feature complete. Once you have the editor, you still have to piece together an amazing amount of individual software and configuration details to put together a toolchain.
20040517211547 20040421120225 596679bbfc94530800fc9455d8950003 596679bbfc94530800fc9455d8950004 1 5985ba85fc0c75a000fc0c9019f40009 discovering_xml_files_with_google Discovering XML files with Google Google offers the ability to search for certain file formats. If you are looking for XML files, e.g. DocBook or FOAF, you can use filetype:xml in conjunction with your search keyword. More information in thisDan points out, fairly I think, that there?s been a lot of hype about the benefits of XML and how easy it?s going to make things. If you believe all that hype, the first few weeks in the trenches must be a real shock.
I?m trying to decide if I?ve contributed to that hype. I?m not sure. XML authoring, and DocBook authoring in particular, are easy by some metrics. For example, I do it in a free editor. By that metric, Word is extremely hard for me. I?d have to change operating systems ($$$) and buy the application ($$$). (Yes, I could use OpenOffice, in fact, I do sometimes, but that?s not really the point.)
The point is it depends on your metrics. It is dead easy for me to publish an essay like this one in HTML and PDF, and to syndicate it in RSS and Atom, and to generate metadata that can be queried. I could easily generate other forms as well.
What makes good developer documentation
What is good software documentation? What do you use? What categories exist? What tools do you use? What sounds useful but isn't? What would you most like to see? Stop complaining and start writing.He identifies three categories of developer's documentation: tutorials, cookbooks and API documentation. In the ongoing discussion Jose Bonnet requires good documentation to be: reachable, searchable and of good quality.
XML diff utilities in Java
Carlos E. Perez of Managebility has created a small list of Open Source XML Diff Written in Java. I must add this to my XML Differencing Overview Page as soon as my MovableType is working again. [via Bertrand Delacretaz]




I am Product Manager for Collaboration and Digital Asset Management at