Hello,
I am trying to create a customized menu entry in XMLmind. So far,
I managed to add the entry, but when I select "convert to my
HTML" I always start with a default directory. Is it a feature?

My config file is

<configuration name="DocBook"
  xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

  <include location="xxe-config:docbook/docbook.xxe"/>


  <command name="docb.toHTML">
    <process>
[... some stuff ...]

      <!-- The real HTML file is index.html -->
      <delete files="__doc.*" />

      <upload base="file:/%0">
        <copyFiles files="*.*" toDir="." />
        <copyFiles files="resources/*" toDir="resources" />
        <copyFiles files="callouts/*" toDir="callouts" />
      </upload>
    </process>
  </command>

  <command name="docb.convertToHTML">
    <macro>
      <sequence>
       <command name="selectFile" parameter="saveDirectory" />
       <command name="docb.toHTML" parameter='"%_"' />
      </sequence>
    </macro>
  </command>

  <menu label="DocBook" mnemonic="D">
    <insert />
    <separator />
    <item label="Convert to  my HTML ..."
         command="docb.convertToHTML" parameter='" " 0' />
  </menu>

I am not really sure what do the last parameters mean :-)
TIA, .mau.


Reply via email to