Hi there

Short version: I'd like to use http://www.deltaxml.com/free/docbook/
to generate a PDF with changebars for the differences between two
versions of a DocBook document. This requires that xincludes are
expanded, and it doesn't like duplicate IDs.

It looks like XXE is the only xinclude processor out there which can
handle the recursive xincludes which it uses for modular documents. Is
it perhaps possible to make it output the combined document?

It looks like this should work:

$ convertdoc -d docb.toHTML1 operator-manual.docbook.xml -u build/test.html

There's something wrong with the way I call it, as it dies with:

"""
[...]
Unexpected section.autolabel value: ; using default.
Unexpected section.autolabel value: ; using default.
convertdoc: *** error: Command execution has failed:
java.net.MalformedURLException: no protocol:
+---------------------------------------
| java.net.URL.<init>(URL.java:567)
| java.net.URL.<init>(URL.java:464)
| java.net.URL.<init>(URL.java:413)
| com.xmlmind.xmleditapp.process.UploadItem.execute(UploadItem.java:83)
| com.xmlmind.xmleditapp.process.ProcessCommand$1.run(ProcessCommand.java:176)
"""

Anyway, it leaves a /tmp/xxe56203/__doc.xml file which looks like what
I'm looking for, except that it has duplicate ids.

If I do this:

$ convertdoc -d docb.toHTML operator-manual.docbook.xml -u build/out/

I don't get any errors, but the /tmp/xxeNNNNN/ directory doesn't
contain any __doc.xml file, which leads me to suspect that the
docb.toHTML1 version won't leave a __doc.xml either, if the invocation
is fixed so that it completes successfully.

-- 
jean                                              . .. .... //\\\oo///\\

Reply via email to