All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.epubcheck.schema.30.multiple-renditions.mapping.rnc Maven / Gradle / Ivy

Go to download

EPUBCheck is a tool to validate the conformance of EPUB publications against the EPUB specifications. EPUBCheck can be run as a standalone command-line tool or used as a Java library.

There is a newer version: 5.1.0
Show newest version
default namespace = "http://www.w3.org/1999/xhtml"
namespace epub = "http://www.idpf.org/2007/ops"

include "../mod/datatypes.rnc"
start = html
html =
    element html {
        attribute epub:prefix { datatype.prefixdecl }?,
        head,
        body
    }
head = element head { meta* }
body = element body { nav+ }
meta =
    element meta {
        (attribute name { xsd:string }
         & attribute content { xsd:string })
        | attribute charset { xsd:NMTOKEN }
    }
nav =
    element nav {
        # presence of epub:type is checked with Schematron for better error message
        (attribute epub:type { xsd:NMTOKENS })?
        & ul+
    }
ul = element ul { li, li+ }
li = element li { a }
a =
    element a {
        attribute href { xsd:anyURI }
        & attribute epub:rendition { xsd:anyURI }?
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy