Problem with automatic ID generation
Posted: Thu Nov 26, 2020 10:22 am
Hello,
I have configured the idGenerationDefaultOptions.xml in our framework as follows:
This helped remove all the other IDs that were automatically generated with the default file.
However, we have noticed that still some other IDs are being generated for <result> or <postreq>, for example. I haven't found any other elements so far, but there could be more.
Is there a reason why this happens?
Is there a way to take those out? We don't need automatic IDs for those elements.
Thanks,
Christina
I have configured the idGenerationDefaultOptions.xml in our framework as follows:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!-- ID Generation default options for DITA -->
<idGeneration>
<autoGenerate>true</autoGenerate>
<idAttribute>id</idAttribute>
<idPattern>${localName}_${id}</idPattern>
<generateForElement>topic/section</generateForElement>
</idGeneration>
However, we have noticed that still some other IDs are being generated for <result> or <postreq>, for example. I haven't found any other elements so far, but there could be more.
Is there a reason why this happens?
Is there a way to take those out? We don't need automatic IDs for those elements.
Thanks,
Christina