othermeta inheritance
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 105
- Joined: Thu Jan 20, 2022 12:36 pm
othermeta inheritance
Hello,
According to this page:
https://www.oxygenxml.com/dita/1.3/spec ... adata.html
There's no inheritance cascaded from map to topics for the <othermeta> element. However, a client of mine uses othermeta at the map level and expected to see it available for topics. Is there any possible tweak to make it work nonetheless?
Thanks for any feedback.
According to this page:
https://www.oxygenxml.com/dita/1.3/spec ... adata.html
There's no inheritance cascaded from map to topics for the <othermeta> element. However, a client of mine uses othermeta at the map level and expected to see it available for topics. Is there any possible tweak to make it work nonetheless?
Thanks for any feedback.
-
- Posts: 9472
- Joined: Fri Jul 09, 2004 5:18 pm
Re: othermeta inheritance
Hi,
Maybe you could also ask around on the DITA Users List as the DITA standard committee members are registered on it: https://dita-users.groups.io/g/main
Let's try to start with a small example, a DITA Map containing this:
and a referenced "introduction.dita" simple topic:
With the DITA OT 3.7 publishing engine I publish the DITA Map to HTML5 setting the "clean.temp=no" parameter and then I look in the transformation temporary files folder inside the "introduction.dita" topic and I find inside it:
So the <othermeta> becomes part of the temporary topic file, meaning that an HTML XSLT customization could probably match it and create some HTML elements from it.
Looking at the specification link you gave me:
https://www.oxygenxml.com/dita/1.3/spec ... adata.html
there is a "Does it cascade to child <topicref> elements?" column and "<othermeta>" has value "no", this means for me that in this case:
the <othermeta> specified for "introduction.dita" does not cascade and become part also of "someOtherTopic.dita".
Regards,
Radu
Maybe you could also ask around on the DITA Users List as the DITA standard committee members are registered on it: https://dita-users.groups.io/g/main
Let's try to start with a small example, a DITA Map containing this:
Code: Select all
<topicref href="topics/introduction.dita">
<topicmeta>
<othermeta name="test" content="value"/>
</topicmeta>
</topicref>
Code: Select all
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="introduction">
<title>Introduction</title>
<shortdesc>test</shortdesc>
<body>
<p>specific needs.</p>
</body>
</topic>
Code: Select all
<prolog class="- topic/prolog "><metadata class="- topic/metadata "><othermeta class="- topic/othermeta " content="zuzu" name="test" xtrc="othermeta:1;7:46" xtrf=".../flowers.ditamap"/></metadata></prolog>
Looking at the specification link you gave me:
https://www.oxygenxml.com/dita/1.3/spec ... adata.html
there is a "Does it cascade to child <topicref> elements?" column and "<othermeta>" has value "no", this means for me that in this case:
Code: Select all
<topicref href="topics/introduction.dita">
<topicmeta>
<othermeta name="test" content="value"/>
</topicmeta>
<topicref href="someOtherTopic.dita"/>
</topicref>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 105
- Joined: Thu Jan 20, 2022 12:36 pm
Re: othermeta inheritance
Thanks a lot, Radu for the test and explanations. Surprisingly, I didn't get the same results, so I think there's something I need to clarify.
I posted a message on the DITA users list and if I get something interesting in return, I will share it here.
I posted a message on the DITA users list and if I get something interesting in return, I will share it here.
------
Gaspard
Gaspard
-
- Posts: 9472
- Joined: Fri Jul 09, 2004 5:18 pm
Re: othermeta inheritance
Hi,
Linking here to your post for convenience:
https://dita-users.groups.io/g/main/message/46717
You did not mention what DITA OT version you are using.
Also in your DITA Users post you mentioned submaps, if you have problems with metadata from submaps maybe this older forum post will help:
post61684.html#p61684
Regards,
Radu
Linking here to your post for convenience:
https://dita-users.groups.io/g/main/message/46717
You did not mention what DITA OT version you are using.
Also in your DITA Users post you mentioned submaps, if you have problems with metadata from submaps maybe this older forum post will help:
post61684.html#p61684
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)
- ↳ 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