[MarkLogic Dev General] Docbook Conversion from .xhtml - "OK" but
no results
Lee, David
dlee at epocrates.com
Thu Nov 26 14:49:39 PST 2009
I'm experimenting with the HTML -> XHTML -> Docbook conversions.
I've enabled the Content Processing framework.
When I drop PDF file into the directory all goes well, I get an .xhtml
file and a .xml file (docbook format).
But when I drop a plain .html file I get a .xhtml file but no .xml ...
Manually in CQ I tried this command
import module namespace dbk = "http://marklogic.com/cpf/docbook" at
"/MarkLogic/conversion/docbook.xqy";
let $options := <options xmlns="dbk:convert">
<wrap-text>false</wrap-text> <preserve-styles>true</preserve-styles>
</options>
return dbk:convert(fn:doc("/PDF/cat_html.xhtml"), $options)
And the result is simply
<status>ok</status>
But no docbook content.
Changing the command to use the .xhtml file produced by the PDF
conversion and I get the docbook contents.
Any ideas on where to look for what went wrong ?
Thanks.
----------------------------------------
David A. Lee
Senior Principal Software Engineer
Epocrates, Inc.
dlee at epocrates.com <mailto:dlee at epocrates.com>
812-482-5224
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20091126/69b7bc5a/attachment.html
More information about the General
mailing list