Hello Hussein,

Thank you for your swift response, that's just what I needed. It now works
as I expect.

In this document
http://www.xmlmind.com/xmleditor/_distrib/doc/xxetool/xxetool.pdf there is
a note that "The xxetool command-line tool will not run on a headless
server".

What does that mean in practice? If I can run it via a command line, I'd
expect to be able to create (eg) a jenkins build running on a VM to create
my documentation.

Thanks,
Rob

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, 15 Jan 2019 at 19:58, Hussein Shafie <huss...@xmlmind.com> wrote:

> On 01/15/2019 07:57 PM, Robert Bentall wrote:
> > I've been using the personal edition of xmlmind (8.2.1) on Windows x64,
> > downloaded last week.
> > I tried to use the command-line tool xxetool to convert a docbook file,
> > but I get the following error:
> >
> > C:\Program Files (x86)\XMLmind_XML_Editor\bin>xxetool convert
> > docb.toHTML sample.xml -u ../out.html
> > *xxetool: *** error: command 'docb.toHTML' not found*
> >
> > C:\Program Files (x86)\XMLmind_XML_Editor\bin>
> >
> > The document converts OK through the GUI.
> > Is this a restriction on the personal edition, or is it a defect?
>
> It's a defect (and a hard to fix one). The error is real, but the error
> message is misleading.
>
> To make it simple, xxetool first detects the document type of your
> "sample.xml", then it loads the corresponding configuration and finally
> it attempts to find a process command called "docb.toHTML" declared in
> the loaded configuration.
>
> Your "sample.xml" is almost certainly a DocBook v5.0 or v5.1 document
> and NOT a DocBook v4.x document. The DocBook v5.0 or v5.1 configurations
> do not declare any process command called "docb.toHTML". However, they
> do declare respectively "db5.toHTML" and "db51.toHTML".
>
>
>
> --> So if your "sample.xml" is a DocBook v5.0 document, please run:
>
> xxetool convert db5.toHTML sample.xml -u ../out.html
>
> Note that, because process command "db5.toHTML" generates multi-page
> HTML,  your "out.html" is supposed to be a output *folder* and not a
> output file.
>
>
>
> --> And if your "sample.xml" is a DocBook v5.1 document, please run:
>
> xxetool convert db51.toHTML sample.xml -u ../out.html
>
>
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to