CSML Reference guide
This page references the full Calaméo Skin Markup Language (CSML)
XML Schema
XML Shema is used to describe the set of rules an XML file must follow.
Common attributes
Elements
root is the main element. It is parent to the following statements*:
- library is used to load a swf library (optional if <media> is set, no maximum number of elements)
- media is used to load a picture (optional if <library> is set, no maximum)
- logo sets the position, image and link of the logo (optional, unique)
- viewer sets the viewer parameters (needed, unique)
- timeline sets the page slider (optional, no maximum)
- layout is a container for buttons (optional, no maximum)
- button sets the parameters for a button. It must be a child of a <layout> or an other <button> element (optional, no maximum)
- element is used to display additional graphics and/or HTML (optional, no maximum)
* If you intend to validate your skin against our XSD file
or with our online validator, your statements must be in the specified order.
If they are not, the skin will still be displayed properly, but you won't be able to check for errors against the XSD file.
