The non-renderable metadata section of a BDML document.
The metadata section contains metadata elements which are non-renderable or specify specially generated or included renderable items.
No attributes are defined for the <metadata> element.
Element name | Description |
---|---|
<copyright> | Specifies a copyright declaration for the immediate document. |
<cover> | Specifies a cover image for the document. This is HTML specific and can be used to display the cover page at the start of the HTML document if desired. |
<css> | Specifies inline css to use for styling the document. |
<footer> | Specifies a document to be included as the footer. |
<header> | Specifies a document to be included as the header. |
<index-entries> | A set of index text matches to be used to automatically create the document's index. |
<index-page> | The position of the index in the document's back matter. |
<link> | HTML specific link elements to place in the <head> section of the generated HTML document. |
<meta> | HTML specific meta elements to place in the <head> section of the generated HTML document. |
<numbering> | An instruction to enable the full or partial automatic numbering of the document's part, chapter, and heading elements. |
<relative-root> | Specifies the relative folder which acts as the root for relative paths specified in the document. |
<script> | Specify a script to include in the target's header (used for HTML target only). |
<stylesheet> | Specify a CSS stylesheet to apply (cascade) on top of the target's default CSS. |
<toc> | Specify whether an automatic table of contents should be generated from the <part>, <chapter>, and <h*> elements. |
<trademark> | Specifies a trademark declaration for the immediate document. |
Element name | Relation |
---|---|
<document> | The root document element containing the metadata section. |
<document xmlns="http://boradoc.org/1.0"> <metadata> <header url="resources/header.bdml" /> <footer url="resources/footer.bdml" /> <stylesheet url="resources/main.css" /> <stylesheet url="resources/pdf.css" target="pdf" /> <stylesheet url="resources/html.css" target="html" /> <numbering start="1" finish="5" target="pdf" /> <copyright>Copyright 2006 ABC Corp</copyright> </metadata> <-- Main document content follows.. --> </document>