Remove <glossbody> from pdf
Posted: Wed May 18, 2016 6:08 pm
Hi,
I'm using the a glossary in my Ditamap this way I can use the <abbreviated-term> tag and add a glossary of terms to my document. The glossary items look like:
In my pdf output I would like to include the <glossterm> and the <glosdef> so i've added the glossary like this in my ditamap:
in the print i also get the <glossbody> elements, I don't want that, does anybody know how to remove these from the pdf output?
I'm using the a glossary in my Ditamap this way I can use the <abbreviated-term> tag and add a glossary of terms to my document. The glossary items look like:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary//EN" "glossary.dtd">
<glossentry id="test_gloss">
<glossterm>Lorem ipsum</glossterm>
<glossdef><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.
Aenean massa.</p></glossdef>
<glossBody>
<glossSurfaceForm>Lorem Ipsum</glossSurfaceForm>
<glossAlt>
<glossAcronym>LS</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>
Code: Select all
<topichead navtitle="Glossary" type="topic">
<topicref href="Glossary/test_gloss.dita" keys="test_gloss" print="yes"/>
</topichead>