DocBookis
anXML/SGML vocabulary particularly well suited to books and papers
aboutcomputer hardware and software. xsltproc and libxslt are not specifically dependant on DocBook, but sincea
lot of people use xsltproc and libxml2 for DocBook formatting, here are afew
pointers and informations which may be helpful: Do not use the --docbook option of xsltproc to process XML
DocBookdocuments, this option is only intended to provide some (limited)
support ofthe SGML version of DocBook. Points which are not DocBook specific but still worth mentionningagain: - if you think DocBook processing time is too slow, make sure you haveXML
Catalogs pointing to a local installation of the DTD of DocBook.Check the
XML Catalog pageto
understand more on this subject.
- before processing a new document, use the command
xmllint --valid --noout path_to_document
to make sure that your input is valid DocBook. And fixes the
errorsbefore processing further. Note that XSLT processing may work
correctlywith some forms of validity errors left, but in general it can
givetroubles on output.
Daniel Veillard |