Created
April 25, 2015 22:53
-
-
Save pastokes/5c8c23f3c406fde83e13 to your computer and use it in GitHub Desktop.
RelaxNG compact schema for the codicology model (non-TEI version) implemented by codicology.xml.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codex = element codex { Gathering+ } | |
Gathering = element gathering { | |
(attribute id { xsd:ID }? & | |
Ruling?), | |
Singleton*, Bifolium?, Singleton* | |
} | |
Singleton = element singleton { | |
attribute id { xsd:ID }?, | |
Folio | |
} | |
Bifolium = element bifolium { | |
(attribute id { xsd:ID }? & | |
Ruling?), | |
Folio, (Singleton* & Bifolium*), Folio | |
} | |
Folio = element folio { Page, Page } | |
Page = element page { | |
(attribute id { xsd:ID } & | |
attribute hf { "H" | "F" } & | |
attribute ruling { "ruled" | "non-ruled" | "unruled" }? & | |
attribute textFollows { xsd:IDREF }?), | |
text | |
} | |
Ruling = attribute ruling { "beforeFolding" | "afterFolding" } | |
start = Codex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment