Conrefs and preprocessing in DITA-OT
Post here questions and problems related to editing and publishing DITA content.
			- 
				Frank Ralf
 - Posts: 490
 - Joined: Thu Jan 23, 2014 2:29 pm
 - Location: Hamburg
 - Contact:
 
Conrefs and preprocessing in DITA-OT
Post by Frank Ralf »
Hi all,
we want to insert a table via conref and then link from outside the conref to different elements within the table. Those links are broken when we run a DITA OT transformation (PDF). The problem is that the IDs within the conref are generated in the preprocessing (see https://github.com/dita-ot/dita-ot/issues/1091).
Is there any solution for this problem? I can only imagine to run an XSL before preprocessing: Copy @id and @href to a third attribute and then - when creating the links – use the third attribute if the target cannot be identified.
Best regards
Frank
			
			
									
									we want to insert a table via conref and then link from outside the conref to different elements within the table. Those links are broken when we run a DITA OT transformation (PDF). The problem is that the IDs within the conref are generated in the preprocessing (see https://github.com/dita-ot/dita-ot/issues/1091).
Is there any solution for this problem? I can only imagine to run an XSL before preprocessing: Copy @id and @href to a third attribute and then - when creating the links – use the third attribute if the target cannot be identified.
Best regards
Frank
Frank Ralf
parson AG
www.parson-europe.com
						parson AG
www.parson-europe.com
- 
				Radu
 - Posts: 9547
 - Joined: Fri Jul 09, 2004 5:18 pm
 
Re: Conrefs and preprocessing in DITA-OT
Hi Frank,
Maybe this question is more appropriate for the DITA Users List. Usually the DITA style guides discourage links to specific elements within a topic, the topic should be small enough so that you can link directly to it and not to a specific element from it.
Regards,
Radu
			
			
									
									Maybe this question is more appropriate for the DITA Users List. Usually the DITA style guides discourage links to specific elements within a topic, the topic should be small enough so that you can link directly to it and not to a specific element from it.
Regards,
Radu
Radu Coravu 
<oXygen/> XML Editor
http://www.oxygenxml.com
						<oXygen/> XML Editor
http://www.oxygenxml.com
- 
				Frank Ralf
 - Posts: 490
 - Joined: Thu Jan 23, 2014 2:29 pm
 - Location: Hamburg
 - Contact:
 
Re: Conrefs and preprocessing in DITA-OT
Post by Frank Ralf »
Hi Radu,
Thanks for the quick reply. I will re-post my question there.
Cheers,
Frank
			
			
									
									Thanks for the quick reply. I will re-post my question there.
Cheers,
Frank
Frank Ralf
parson AG
www.parson-europe.com
						parson AG
www.parson-europe.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)
 - ↳ 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