Change behavior of "DITA/ReuseKeys" action
Posted: Thu May 15, 2025 3:35 pm
Hi,
I'm trying to add an index-see-also element with a keyref attribute in a glossentry topic using the "DITA/ReuseKeys" action.
The keyref attribute is correctly inserted but, it's inserted as an inline bold element with a xref child.
Example from your "try it" Webauthor version https://www.oxygenxml.com/oxygen-xml-we ... n%22%7D%5D
I would like to change the inserted element as "index-see" or "index-see-also". Is there a way to customize the default behavior/action ?
Thanks
I'm trying to add an index-see-also element with a keyref attribute in a glossentry topic using the "DITA/ReuseKeys" action.
The keyref attribute is correctly inserted but, it's inserted as an inline bold element with a xref child.
Example from your "try it" Webauthor version https://www.oxygenxml.com/oxygen-xml-we ... n%22%7D%5D
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary//EN" "glossary.dtd">
<glossentry id="flowers.genus">
<glossterm>Genus</glossterm>
<glossdef>A low-level taxonomic rank used in the classification of living and fossil organisms.
Other well-known taxonomic ranks are domain, kingdom, phylum, class, order, family, and
species, with <term>genus</term> fitting between family and species. The scientific name of
a genus may be called the generic name: it is always capitalized.</glossdef>
<prolog>
<metadata>
<keywords>
<indexterm>test <b><xref keyref="perennial"/></b></indexterm>
</keywords>
</metadata>
</prolog>
</glossentry>
Code: Select all
<keywords>
<indexterm>test <index-see-also keyref="perennial"/></indexterm>
</keywords>