How to print target attributes into the output html files
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 19
- Joined: Wed Aug 24, 2022 7:20 am
How to print target attributes into the output html files
Hi,
We attempted to add two attributes to the DITA files to identify sections that need to be rendered for the frontend. However, when attempting to publish them into HTML files, we found that those attributes no longer exist.
The newly added attributes:
We attempted to add two attributes to the DITA files to identify sections that need to be rendered for the frontend. However, when attempting to publish them into HTML files, we found that those attributes no longer exist.
The newly added attributes:
image.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to print target attributes into the output html files
Hi,
By default profiling attributes are removed and handled in the profiling/filtering stage of the publishing process.
If for publishing you use a DITAVAL filter file you can specify "passthrough" for certain profiling attributes or attribute/value combinations in order to pass them to the published output:
https://www.oxygenxml.com/dita/1.3/spec ... attributes
Regards,
Radu
By default profiling attributes are removed and handled in the profiling/filtering stage of the publishing process.
If for publishing you use a DITAVAL filter file you can specify "passthrough" for certain profiling attributes or attribute/value combinations in order to pass them to the published output:
Code: Select all
<val>
<prop action="passthrough" att="deliveryTarget"/>
<prop action="passthrough" att="otherprops"/>
</val>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service