title: Replacing dmref tags with XInclude tags correctly
body: <p>Fellow Forum Members,
  I need help in replacing <code>&lt;dmref&gt;</code> tags with <code>&lt;xinclude&gt;</code> tags within a XML file known as a Publication Module (PM). My PM lists 125 XML files and I want to feed this PM file to my Arbortext XML Editor as a PM file it recognizes so that it can publish a single PDF file from all of the 125 XML files listed in the PM file. From what I understand the Xinclude function is suppose to make a single XML file out of all 125 XML files that Arbortext will not reject. </p>
  
  <p>My problem is I can't find any coding examples of how the Xinclude function overwrites the dmref tag within the type of XML code that resides in a PM file. Below is an example of how to code Xinclude I found online:</p>
  
  <pre><code>`&lt;?xml version="1.0"?&gt;
  &lt;book xmlns:xi="http://www.w3.org/2001/XInclude"&gt;
    &lt;title&gt;The Wit and Wisdom of George W. Bush&lt;/title&gt;
    &lt;xi:include href="malapropisms.xml"/&gt;
    &lt;xi:include href="mispronunciations.xml"/&gt;
    &lt;xi:include href="madeupwords.xml"/&gt;
  &lt;/book&gt;`
  </code></pre>
  
  <p>And below is an example of the dmref code residing inside my PM file. The <code>&lt;dmCode&gt;</code> points to an external data module (which really is an XML file that contains remove procedures). In short, I have had no success in getting the PDF to print out error free when I replace the dmref tag with the Xinclude code shown above. My hope is someone below can take a look at the code below and share what is the correct way to add the Xinclude funtion to it:</p>
  
  <pre><code>`&lt;dmRef&gt;
  &lt;dmRefIdent&gt;
  &lt;dmCode assyCode="00" disassyCode="00" disassyCodeVariant="00"
  infoCode="520" infoCodeVariant="A" itemLocationCode="O"
  modelIdentCode="BIKE" subSubSystemCode="1" subSystemCode="0"
  systemCode="A03" systemDiffCode="DE"/&gt;
  &lt;issueInfo inWork="00" issueNumber="001"/&gt;&lt;/dmRefIdent&gt;
  &lt;dmRefAddressItems&gt;
  &lt;dmTitle&gt;
  &lt;techName&gt;Seat&lt;/techName&gt;
  &lt;infoName&gt;Removal&lt;/infoName&gt;
  &lt;/dmTitle&gt;
  &lt;issueDate day="07" month="11" year="2013"/&gt;&lt;/dmRefAddressItems&gt;
  &lt;/dmRef&gt;`
  </code></pre>
  
  <p>Any help will be greatly appreciated in the successful development of what I am calling a PM Wrapper file.  Thanks in advance.</p>