Hi, I'm quite new to AEM Guides/XML Documentation and I am currently trying to figure out how to get "data" elements from a DITA Map in the generated AEM Site.
To clarify, the DITA Map has the following structure:
<image id="logo" href="GUID-123asd123.jpg" ></image>
<xref format="txt" href="GUID-asd123qwe.txt" id="copyright">
<topicref ... ></topicref>
I want to use contents of "data" element in AEM Site pages, e.g.:
- show the brand logo on top of each page according to the "image" tag in Map
- show the copyright disclaimer in footer section of each page according to "xref" tag in Map
I did some experiments with custom Design template for AEM Site preset and custom mappings between DITA elements and AEM components (elementmapping.xml), but I'm not able to understand which is the correct way to use "data" elements in my pages.
Thanks to everyone that will give me support.
Hi all, meanwhile I wait for your kind answers to my question above, I would like to rephrase it to a more general level:
- is it possible to customize the output generation process of an AEM Site preset to allow processing of DITA Map children elements beside topics?
It seems to me that there are many ways to personalize topic pages, mapping elements used in Topics to our customized components, but the same is not true for Maps.
Hi @AswiniLakshminarayanan, thank you for your answer.
Checking other discussions (like this one: https://experienceleaguecommunities.adobe.com/t5/experience-manager-guides/the-generated-ditamap-det...) I thought it would be somehow possible to access those elements of a Map and be able to use them for "common" contents (brand logo/disclaimers in footer/etc...) of generated AEM Site.
So, just one last point to clarify: is it possible to publish DITA Map as "AEM Site" preventing removal of children elements except Topics?
Thanks in advance.