On 01/25/2016 05:20 PM, Nelson Weiss, Brendan A. wrote:

     I have a personal license for the XMLmind XML editor and I am
looking at publishing a combination of multiple books in one document. I
know that DocBook 5.0 supports the set element, but I do not see sets as
an option in XMLmind for a root element in a DocBook 5.0 document. Is
there support for Sets somewhere I am not seeing, or through one of the
addons? If not, would it be possible to easily implement it?


The settings documented hereafter will take you 2 minutes to complete, are done once for all and will survive future XMLmind XML Editor upgrades.

Please proceed as follows:

1) Create an empty DocBook 5.0 <set> using a text editor and save it to a ".xml" file (the file name and location are unimportant; simply give it a ".xml" suffix).

A sample empty <set> is attached to this email. The safest is to use it because we have checked its validity.

2) Open this file in XMLmind XML Editor.

3) Optionally modify this file to suit your needs as a <set> template then save the file to disk.

4) Select menu item "Options → Customize Configuration → Save Document as Template" and proceed as explained in:

http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.app.part.SaveAsTemplateAction.Prompt.html

Let's suppose you specify in the "Save Document as Template" dialog box:

Name = Set
Category = DocBook v5+/5.0
Order = BLANK, NOT SPECIFIED

From now, after selecting "File → New", you'll find your <set> template listed as "Set" in the dialog box under the category "DocBook v5+/5.0".

You can delete the original ".xml" file if you want. XMLmind XML Editor uses a private copy of it.

<?xml version="1.0" encoding="UTF-8"?>
<set version="5.0" xmlns="http://docbook.org/ns/docbook";
     xmlns:xlink="http://www.w3.org/1999/xlink";
     xmlns:xi="http://www.w3.org/2001/XInclude";
     xmlns:svg="http://www.w3.org/2000/svg";
     xmlns:m="http://www.w3.org/1998/Math/MathML";
     xmlns:html="http://www.w3.org/1999/xhtml";
     xmlns:db="http://docbook.org/ns/docbook";>
  <info>
    <title/>

    <author>
      <personname><firstname/><surname/></personname>

      <affiliation>
        <orgname/>
      </affiliation>
    </author>

    <pubdate/>
  </info>

  <book>
    <title/>

    <chapter>
      <title/>

      <section>
        <title/>

        <para/>
      </section>
    </chapter>
  </book>

  <book>
    <title/>

    <chapter>
      <title/>

      <section>
        <title/>

        <para/>
      </section>
    </chapter>
  </book>
</set>
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to