Query builder to extract links from XML EPMdocument (DITA MAP)
We are trying to build a query that:
A) Use an XML DITA map (EPMdocument) as our primary file
B) From the XML DITA map file, extract all the links to other EPMdocuments
C) The EPMdocument links are found in the "topicref" elements (href attribute)
D) Get the ID, name and author for each link.
Sample XML DITA map:
<bookmap>
.....
<chapter>
<topicmeta><navtitle>Introduction & General Description</navtitle></topicmeta>
<topicref href="windcillEPMdocLink1.dita"/>
<topicref href="windcillEPMdocLink2.dita"/>
</chapter>
...
</bookmap>
Result XML:
<REQS>
<REQ id=".." link="windcillEPMdocLink1.dita"><name>...</name><author>...</author> </REQ>
<REQ id=".." link="windcillEPMdocLink2.dita"><name>...</name><author>...</author></REQ>
</REQS>

