Is it possible to resolve DITA variables inside attributes? #4349
-
We define product and release DITA variables in our top-level map:
These variables are used in many places throughout the map. Now I want to extract this information from published HTML5 in a standard way. No problem, I'll just set the This works for
So close!! This would have worked out perfectly. Is there some way to make this work with the existing processing, or will I need to resort to nonstandard DITA processing via a DITA-OT plugin? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
@chrispy-snps we use entity references for that: https://github.com/oxygenxml/userguide/blob/master/DITA/maps/keydefs.ditamap |
Beta Was this translation helpful? Give feedback.
-
Unfortunately not, the bottle neck here is DITA spec itself. |
Beta Was this translation helpful? Give feedback.
-
Thanks @raducoravu and @jelovirt! I appreciate both answers. |
Beta Was this translation helpful? Give feedback.
-
@chrispy-snps, I'm curious how consistency will be ensured, especially over time and across people, including the future you. Forgetting the |
Beta Was this translation helpful? Give feedback.
-
@lief-erickson - good idea! I added a Schematron rule to check for this:
The Schematron rule allows for an optional keyscope prefix on the I didn't include a Schematron quick-fix to insert the Next, hopefully I can get the following enhancement request implemented so that the #4351: Generate HTML5 metadata attributes in the |
Beta Was this translation helpful? Give feedback.
Unfortunately not, the bottle neck here is DITA spec itself.