docbook

Docbook publishing for different target audiences

I like to have one docbook xml document that has content for serveral target audiences. Is there a filter that enables me to filter out the stuff only needed for "advanced" users? The level attribute is invented by me to express what I have in mind. <?xml version="1.0"?> <book> <title lang="en">Documentation</title> <chapter...

Customizing DocBook XSL NS section title styling

I have "section.autolabel" set to 1 with a max.depth of 2. So, my section (sect1, sect2, sect3, ...) titles are as follows: 1. Introduction 1.1 All about it 1.2 Some more all abouts These are generated as pure text (ie: "1.1 All about it") without any formatting specifically for the numbering and the title separately. What I would li...

XSL: Removing xml tags but keeping their contents

I recently changed a couple of my .xml files from docbook to dita. The conversion went ok, but there are some unwanted artifacts. The one I'm stumped on is that .dita does not recongnize the <para> tag from docbook, and replaces it with <p>. Which you'd think would be fine, but this causes the XML to show items in and ordered list as ...

Combining XSL documents + DITA: Xref Vs. Related Links

I have used an XSL to convert a docbook document into dita. The conversion was successful, bu there are unwanted artifacts which remain. I've gotten rid of a few of them, but I have saved these changes in another XSL which is run after the conversion. My question is: Is it possible to combine this into a single XSL? when I've tried ...

How to generate documentation from css file?

I reference to CSSDoc specification and want to generate comment documentation from css file. The first thought used phpdocumentor tool. When execute phpdoc -o HTML:frames:default -f main.css -t docs command, i got "File not parsed,not a php file" error message. Please tell me how to generate documentation from css file by auto-document...

XSL: Docbook to DITA, issue with reference xml:id

I just used a docbook2dita.xsl, and it worked for the most part, but one issue I ran into were: <section xml:id="555" xmlns="http://docbook.org/ns/docbook"&gt; turned into: <reference id="555.d12e1"> I'm thinking it doesn't matter that the namespace dissappeared, but the id got really screwy. What would be a good fix to this? Ano...

XSL:Docbook2Dita not maintaining <xref>

Im using the docbook2dita.xsl from the DITA open toolkit (although I had to modify it to xsl version 2.0) To convert my .xml files orginally created in docbook over to DITA now. A weird issue that I'm running into is the tags' contents are not being preserved: Breadcrumb <para xreflabel="New Consent Type" id="manageNewConsentTyp...

XSL Writing html code directly in docbook

I am new to docbook, but can not find a decent way to write some pieces of html code directly in the docbook xml structure. The best I could find was dbhtml-include, but it requires a separate html file to parse. Is it possible to write a few html lines directly ? What I am actually trying to do is to write math with mathjax inside do...

Generating output from XML and CSS with docbook - working for HTML, failing for PDF

Hello. Starting from a series of xml files and a stylesheet I generate a HTML file using docbook-xsl-ns-1.73, libxslt-1.1.22.win32 and fop-0.94. the stylesheet says that code chunks must have numbered lines and a gray background. here is the piece of the and task that converts xmls to html: <exec executable="${XSLTPROC_EXECUTABLE}"> ...

generate annotated doctrine2 entites from db schema

Is it possible to generate Doctrine 2 entities, with the relevant docblock annotations, from an existing database schema? ...