Metadata - Input XML fragmentEdit online
In the merged map, the metadata section is placed inside the
<oxy:front-page> element. This is different from the original
placement in the map or bookmap - after the title, but allows usage of information from it in
the title page.
Bookmaps
This is an example of a section taken from a merged bookmap where the CSS processor
is applied to obtain the PDF. It only contains some of the possible metadata elements. The
bookmeta metadata section is inherited from
topicmeta:
<bookmap xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" xmlns:opentopic-index="http://www.idiominc.com/opentopic/index" cascade="merge" class="- map/map bookmap/bookmap " ditaarch:DITAArchVersion="1.3" > <oxy:front-page xmlns:oxy="http://www.oxygenxml.com/extensions/author"> <bookmeta xmlns:dita-ot="http://dita-ot.sourceforge.net/ns/201007/dita-ot" class="- map/topicmeta bookmap/bookmeta "> <author class="- topic/author ">Howe Tuduit</author> <bookid class="- topic/data bookmap/bookid "> <isbn class="- topic/data bookmap/isbn ">071271271X</isbn> <booknumber class="- topic/data bookmap/booknumber ">SG99-9999-00</booknumber> <maintainer class="- topic/data bookmap/maintainer "> <organization class="- topic/data bookmap/organization ">Retro Tools</organization> <person class="- topic/data bookmap/person "/> </maintainer> </bookid> <bookrights class="- topic/data bookmap/bookrights "> ... <bookowner class="- topic/data bookmap/bookowner "> <organization class="- topic/data bookmap/organization ">Retro Tools, Inc.</organization> </bookowner> </bookrights> </bookmeta> <oxy:front-page-title> ... ...
Maps
The maps have a more simple structure, they use the
<topicmeta> element for metadata sections. This is also a
simplified example, as there may be many more elements in the metadata section:
<map xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" xmlns:opentopic-index="http://www.idiominc.com/opentopic/index" cascade="merge" class="- map/map " ditaarch:DITAArchVersion="1.3"> ... <oxy:front-page xmlns:oxy="http://www.oxygenxml.com/extensions/author"> <topicmeta xmlns:dita-ot="http://dita-ot.sourceforge.net/ns/201007/dita-ot" is-chapter="true" class="- map/topicmeta "> <author class="- topic/author ">Dan Caprioara</author> <metadata class="- topic/metadata "> <prodinfo class="- topic/prodinfo "> <prodname class="- topic/prodname ">oXygen PDF CSS DITA Plugin</prodname> </prodinfo> </metadata> <audience class="- topic/audience "/> </topicmeta> ...