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.

[email protected] <mailto:[email protected]> 

812-482-5224

 

 

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to