Why is my topic metadata merging with my map metadata during preprocessing?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Why is my topic metadata merging with my map metadata during preprocessing?
Post by ann.jensen »
Hi,
I am trying to troubleshoot an unexpected value coming from preprocessing. On debugging topicpullImpl.xsl it appears that the text values from the <map<topicmeta> elements are somehow merging with those from
<reference><prolog><metadata> elements
where the reference is one of the children of the map that is linked to from another child topic of the map.
When I look at the value forin a customization of topicpullImpl.xsl
I am seeing text value from the parent map
<map><topicmeta><publisher>
merged with attribute values from
<reference><prolog><metadata><othermeta>
from the $targetElement variable
Apologies if I am not explaining this very well.
I would appreciate any direction anyone might be able to provide on this as I am baffled.
Thanks in advance,
Ann
I am trying to troubleshoot an unexpected value coming from preprocessing. On debugging topicpullImpl.xsl it appears that the text values from the <map<topicmeta> elements are somehow merging with those from
<reference><prolog><metadata> elements
where the reference is one of the children of the map that is linked to from another child topic of the map.
When I look at the value for
Code: Select all
<xsl:value-of select="$targetElement//*[contains(@class, ' topic/prolog ')]/*[contains(@class, ' topic/metadata ')]/*[contains(@class , ' topic/othermeta ')][@name='category']/@content"/>
I am seeing text value from the parent map
<map><topicmeta><publisher>
merged with attribute values from
<reference><prolog><metadata><othermeta>
from the $targetElement variable
Apologies if I am not explaining this very well.
I would appreciate any direction anyone might be able to provide on this as I am baffled.
Thanks in advance,
Ann
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Why is my topic metadata merging with my map metadata during preprocessing?
Hi,
The DITA 1.3 specs describes various cases in which metadata cascades from a topicref inside the topic and the publishing engine basically should obey the specs:
https://www.oxygenxml.com/dita/1.3/spec ... adata.html
Regards,
Radu
The DITA 1.3 specs describes various cases in which metadata cascades from a topicref inside the topic and the publishing engine basically should obey the specs:
https://www.oxygenxml.com/dita/1.3/spec ... adata.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Why is my topic metadata merging with my map metadata during preprocessing?
Post by ann.jensen »
Thank you so much, that helps a lot.
Regards,
Ann
Regards,
Ann
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