
<!-- start datatypes -->

<!ENTITY % data.scope ' CDATA' >

<!ENTITY % data.itsBoolean '(yes|no)' >

<!-- end datatypes -->

<!-- start patterns -->

<!-- end patterns -->

<!-- start classes -->

<!ENTITY % att.datacats.attributes '
 translate  %data.itsBoolean;  #IMPLIED
 locInfo  CDATA #IMPLIED
 locInfoType  CDATA #IMPLIED
 term  CDATA #IMPLIED
 termRef  CDATA #IMPLIED
 dir  CDATA #IMPLIED
 bdo  CDATA #IMPLIED
 rubyText  CDATA #IMPLIED'> 
<!ENTITY % att.scope.attributes '
 translateScope  %data.scope;  #IMPLIED
 locInfoScope  %data.scope;  #IMPLIED
 termScope  %data.scope;  #IMPLIED
 dirScope  %data.scope;  #IMPLIED
 rubyScope  %data.scope;  #IMPLIED'> 
<!-- stop classes -->

<!-- start elements -->

<!ENTITY % documentRule 'INCLUDE' >
<![ %documentRule; [

<!--doc:A rule to express ITS information and the scope of it, to be used in a dislocated
              position in a document. -->
<!ELEMENT documentRule EMPTY>
<!ATTLIST documentRule
 %att.scope.attributes;
 %att.datacats.attributes; >
]]>

<!ENTITY % documentRules 'INCLUDE' >
<![ %documentRules; [

<!--doc:This element contains rules for ITS information, to be used in documents. -->
<!ELEMENT documentRules (documentRule)+>
<!ATTLIST documentRules >
]]>

<!ENTITY % ruby 'INCLUDE' >
<![ %ruby; [

<!--doc: -->
<!ELEMENT ruby (rubyBase,rubyText)>
<!ATTLIST ruby >
]]>

<!ENTITY % rubyBase 'INCLUDE' >
<![ %rubyBase; [

<!--doc: -->
<!ELEMENT rubyBase  (#PCDATA)>
<!ATTLIST rubyBase >
]]>

<!ENTITY % rubyText 'INCLUDE' >
<![ %rubyText; [

<!--doc: -->
<!ELEMENT rubyText  (#PCDATA)>
<!ATTLIST rubyText >
]]>

<!ENTITY % schemaRule 'INCLUDE' >
<![ %schemaRule; [

<!--doc:A rule to express ITS information and the scope of it, to be used as schema
              annotation. -->
<!ELEMENT schemaRule EMPTY>
<!ATTLIST schemaRule
 %att.datacats.attributes; >
]]>

<!ENTITY % schemaRules 'INCLUDE' >
<![ %schemaRules; [

<!--doc:This element contains rules for ITS information, to be used as schema annotation. -->
<!ELEMENT schemaRules (schemaRule)+>
<!ATTLIST schemaRules >
]]>

<!-- end elements -->
