dl dt tags to be rendered as table in webhelp output
Post here questions and problems related to editing and publishing DITA content.
			- 
				alin
 - Site Admin
 - Posts: 276
 - Joined: Thu Dec 24, 2009 11:21 am
 
Re: dl dt tags to be rendered as table in webhelp output
Hello,
You can change the HTML content generated for a DITA definition list using a custom XSLT Extension.
I have created a sample Publishing Template that exemplifies this scenario.
Note: This example assumes that the all dlentries in a dl have the same number of dds and dts. This is required in order to generate a balanced table that has the same number of cells on all rows.
You can find the Publishing Template here: https://github.com/oxygenxml/oxygen-pub ... l-as-table
Regards,
Alin
			
			
									
									You can change the HTML content generated for a DITA definition list using a custom XSLT Extension.
I have created a sample Publishing Template that exemplifies this scenario.
Note: This example assumes that the all dlentries in a dl have the same number of dds and dts. This is required in order to generate a balanced table that has the same number of cells on all rows.
You can find the Publishing Template here: https://github.com/oxygenxml/oxygen-pub ... l-as-table
Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
						Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
- 
				chrispitude
 - Posts: 922
 - Joined: Thu May 02, 2019 2:32 pm
 
Re: dl dt tags to be rendered as table in webhelp output
Post by chrispitude »
Hi Alin,
This is pretty cool! Thank you for sharing it.
We would probably tie the conversion to some @outputclass value in the DITA so it can be selectively used.
			
			
									
									
						This is pretty cool! Thank you for sharing it.
We would probably tie the conversion to some @outputclass value in the DITA so it can be selectively used.
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)
 - ↳ Artificial Intelligence (AI Positron Assistant add-on)
 - ↳ 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