Modular Glossary

Tim Trese <[email protected]>
Newsgroups gmane.editors.xxe.general
Message-ID <MWHPR22MB1661357FDE42478F8D8A26E1F14E0@MWHPR22MB1661.namprd22.prod.outlook.com>
Hello.

Using XXE for DocBook. I am trying to make a glossary document comprising of sibling <glossentry>s from other glossary files. If I were doing this in directly in XML, I think what I wish to do would look something like:
---------------------
<?xml version="1.0" encoding="UTF-8"?>
<glossary version="5.1" xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:xila="http://www.w3.org/2001/XInclude/local-attributes"
          xmlns:xi="http://www.w3.org/2001/XInclude"
          xmlns:trans="http://docbook.org/ns/transclusion"
          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">
  <glossdiv>
    <title>Glossary</title>

    <glossentry>
      <glossterm>My first entry</glossterm>

      <glossdef>
        <para>Definition of my first entry</para>
      </glossdef>
    </glossentry>

    <xi:xinclude href="MySecondGlossary.xml" xpointer="/glossary/glossdiv/glossentry"/>

  </glossdiv>
</glossary>
------------------
...although I'm somewhat new to this and it's possible that I misunderstand proper usage of XInclude.

Nothing like this appears to be possible directly in XXE. Is there a good workaround, or is there a way I can do this with custom configuration of XXE? The solution will also have to be supported by XSL Utility and XSL Server.

Thank you,
Tim Trese
SEL, Inc. > R&D > Timing & Comm > WAN > ICON Network Management Software
509.336.7000 ext. 101429


--
XMLmind XML Editor Support List
[email protected]
https://www.xmlmind.com/mailman/listinfo/xmleditor-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.