The cover of a document.
This element is used in the metadata section of a document, in order to specify the cover image.
Attribute name | Description |
---|---|
url | The path to the image. |
target | Apply this metadata element only to the specified targets. See BDML schema for more information on metadata elements. |
variant | Apply this metadata element only when the variant is specified during translation. See BDML schema for more information on metadata elements. |
width | The width of the image. See the <graphic> element for more details. |
height | The height of the image. See the <graphic> element for more details. |
No element descendants are defined for the <cover> element.
Element name | Relation |
---|---|
<metadata> | The enclosing metadata element of the root bdml file. |
<document xmlns="http://boradoc.org/1.0"> <metadata> <cover url="images/open-book.jpg" /> </metadata> </document>
The above BDML renders to the following: