How to Disable Auto-Generated unique_ Prefix IDs in Oxygen When Generating PDFs with CSS?
Posted: Thu May 15, 2025 4:11 am
When using Oxygen XML Editor to generate PDFs via DITA-OT with CSS customization, elements in the document (e.g., images) are automatically assigned IDs with a unique_ prefix. For example, in my DITA file, I have an image defined as:
However, in the generated HTML and PDF output, the ID becomes:
I notice that Oxygen/DITA-OT adds a unique_ prefix along with chapter or context information (e.g., unique_8_Connect_42_) to the original ID. I want to preserve the original ID (i.e., EZ60wm06130003) without this auto-generated prefix.
Questions:
How can I configure Oxygen or DITA-OT (via CSS, XSLT, or other settings) to prevent the generation of unique_ prefix IDs?
Are there specific parameters, plugins, or customizations that can achieve this?
Environment Details:
Tool: Oxygen XML Editor 27.1
Any suggestions or solutions would be greatly appreciated!
Code: Select all
<image href="EZ60wm06130003.png" id="EZ60wm06130003"/>
Code: Select all
<img class="- topic/image image"
dita-ot:image-width="633"
dita-ot:image-height="497"
href="EZ60wm06130003.png"
id="unique_8_Connect_42_EZ60wm06130003"
nd:nd-id="EZ60wm06130003"
placement="inline"
src="EZ60wm06130003.png" />
Questions:
How can I configure Oxygen or DITA-OT (via CSS, XSLT, or other settings) to prevent the generation of unique_ prefix IDs?
Are there specific parameters, plugins, or customizations that can achieve this?
Environment Details:
Tool: Oxygen XML Editor 27.1
Any suggestions or solutions would be greatly appreciated!