<DocumentDef>
 

<!-- DDML -->

<ElementDecl Name='DocumentDef'>
	<More xml:space='preserve' >The XML content model was 
		(Doc?, More?, (ElementDecl | Model | AttDef | AttGroup | Notation | UnparsedEntity | Enumeration | DocumentDef)*) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref Frequency='Optional' Element='Doc' />
				<Ref Frequency='Optional' Element='More' />
			<Choice Frequency='ZeroOrMore'>
				<Ref  Element='ElementDecl' />
				<Ref  Element='Model' />
				<Ref  Element='AttDef' />
				<Ref  Element='AttGroup' />
				<Ref  Element='Notation' />
				<Ref  Element='UnparsedEntity' />
				<Ref  Element='Enumeration' />
				<Ref Element='DocumentDef' />
			</Choice>
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		xmlns         CDATA   #FIXED   "http://www.purl.org/NET/ddml/v1"
    xmlns:DDML    CDATA   #FIXED   "http://www.purl.org/NET/ddml/v1"
    ns            CDATA   #IMPLIED
    ElementNS     CDATA   #IMPLIED
    prefix        NMTOKEN #IMPLIED
    Version       CDATA   #FIXED   "1.0"
    MimeType      CDATA            "application/xml"
    FileExtension CDATA            "xml"
    id            ID      #IMPLIED
	</More>
 	<AttDef Name='xmlns' 
		Type='CData' 
		AttValue="http://www.purl.org/NET/ddml/v1" >
	</AttDef>
	<AttDef Name='xmlns:DDML' 
		Type='CData' 
		AttValue="http://www.purl.org/NET/ddml/v1" >
	</AttDef>
	<AttDef Name='ns' 
		Type='CData' >
	</AttDef>
	<AttDef Name='ElementNS' 
		Type='CData' >
	</AttDef>
	<AttDef Name='prefix' 
		Type='Nmtoken' >
	</AttDef>
	<AttDef Name='Version' 
		Type='CData' 
		AttValue="1.0" >
	</AttDef>
	<AttDef Name='MimeType' 
		Type='CData' 
		AttValue="application/xml" >
	</AttDef>
	<AttDef Name='FileExtension' 
		Type='CData' 
		AttValue="xml" >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='ElementDecl'>
	<More xml:space='preserve' >The XML content model was 
		(Doc?, More?, Model, AttGroup?) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref Frequency='Optional' Element='Doc' />
				<Ref Frequency='Optional' Element='More' />
				<Ref  Element='Model' />
				<Ref  Frequency='Optional' Element='AttGroup' />
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		Name   NMTOKEN #REQUIRED
    ns     CDATA   #IMPLIED
    prefix NMTOKEN #IMPLIED
    id     ID      #IMPLIED
    Root   (Recommended | Possible | Unlikely) "Possible"
	</More>
 	<AttDef Name='Name' 
		Type='Nmtoken' 
		Required='Yes' >
	</AttDef>
	<AttDef Name='ns' 
		Type='CData' >
	</AttDef>
	<AttDef Name='prefix' 
		Type='Nmtoken' >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
	<AttDef Name='Root' 
		Type='Enumerated' 
		AttValue="Possible" >
			<Enumeration name='Recommended' />
			<Enumeration name='Possible' />
			<Enumeration name='Unlikely' />
	</AttDef>
</AttGrp>
</ElementDecl>

<!-- Name is the element name -->

<ElementDecl Name='Model'>
	<More xml:space='preserve' >The XML content model was 
		(Doc?, More?, (Ref | Choice | Seq | Empty | Any | PCData | Mixed)) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref Frequency='Optional' Element='Doc' />
				<Ref Frequency='Optional' Element='More' />
			<Choice Frequency='Required'>
				<Ref  Element='Ref' />
				<Ref  Element='Choice' />
				<Ref  Element='Seq' />
				<Ref  Element='Empty' />
				<Ref  Element='Any' />
				<Ref  Element='PCData' />
				<Ref Element='Mixed' />
			</Choice>
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		id ID #IMPLIED
	</More>
 	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='Empty'>
	<More xml:space='preserve' >The XML content model was 
		EMPTY 
	</More>
	
	<Model>
		<Empty />
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		id ID #IMPLIED
	</More>
 	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='Any'>
	<More xml:space='preserve' >The XML content model was 
		EMPTY 
	</More>
	
	<Model>
		<Empty />
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		id ID #IMPLIED
	</More>
 	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='PCData'>
	<More xml:space='preserve' >The XML content model was 
		EMPTY 
	</More>
	
	<Model>
		<Empty />
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		id ID #IMPLIED
	</More>
 	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='Ref'>
	<More xml:space='preserve' >The XML content model was 
		EMPTY 
	</More>
	
	<Model>
		<Empty />
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		Element       NMTOKEN #REQUIRED
    ElementNS     CDATA   #IMPLIED
    id            ID      #IMPLIED
    Frequency (Required | Optional | ZeroOrMore | OneOrMore) 'Required'
	</More>
 	<AttDef Name='Element' 
		Type='Nmtoken' 
		Required='Yes' >
	</AttDef>
	<AttDef Name='ElementNS' 
		Type='CData' >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
	<AttDef Name='Frequency' 
		Type='Enumerated' 
		AttValue='Required' >
			<Enumeration name='Required' />
			<Enumeration name='Optional' />
			<Enumeration name='ZeroOrMore' />
			<Enumeration name='OneOrMore' />
	</AttDef>
</AttGrp>
</ElementDecl>

<!-- Element references the name in an ElementDecl element -->

<ElementDecl Name='Mixed'>
	<More xml:space='preserve' >The XML content model was 
		(Ref+) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref  Frequency='OneOrMore' Element='Ref' />
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		ElementNS CDATA        #IMPLIED
    id        ID           #IMPLIED
    Frequency (ZeroOrMore) #FIXED   "ZeroOrMore"
	</More>
 	<AttDef Name='ElementNS' 
		Type='CData' >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
	<AttDef Name='Frequency' 
		Type='Enumerated' 
		AttValue="ZeroOrMore" >
			<Enumeration name='ZeroOrMore' />
	</AttDef>
</AttGrp>
</ElementDecl>

<!-- A Choice must have two or more children -->

<ElementDecl Name='Choice'>
	<More xml:space='preserve' >The XML content model was 
		((Seq | Ref | Model), (Seq | Ref | Model)+) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
			<Choice Frequency='Required'>
				<Ref  Element='Seq' />
				<Ref  Element='Ref' />
				<Ref Element='Model' />
			</Choice>
			<Choice Frequency='OneOrMore'>
				<Ref  Element='Seq' />
				<Ref  Element='Ref' />
				<Ref Element='Model' />
			</Choice>
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		ElementNS CDATA #IMPLIED
    id        ID    #IMPLIED
    Frequency (Required | Optional | ZeroOrMore | OneOrMore) 'Required'
	</More>
 	<AttDef Name='ElementNS' 
		Type='CData' >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
	<AttDef Name='Frequency' 
		Type='Enumerated' 
		AttValue='Required' >
			<Enumeration name='Required' />
			<Enumeration name='Optional' />
			<Enumeration name='ZeroOrMore' />
			<Enumeration name='OneOrMore' />
	</AttDef>
</AttGrp>
</ElementDecl>

<!-- A Seq must have two or more children -->

<ElementDecl Name='Seq'>
	<More xml:space='preserve' >The XML content model was 
		((Choice | Ref | Model),(Choice | Ref | Model)+) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
			<Choice Frequency='Required'>
				<Ref  Element='Choice' />
				<Ref  Element='Ref' />
				<Ref Element='Model' />
			</Choice>
			<Choice Frequency='OneOrMore'>
				<Ref  Element='Choice' />
				<Ref  Element='Ref' />
				<Ref Element='Model' />
			</Choice>
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		ElementNS CDATA #IMPLIED
    id        ID    #IMPLIED
    Frequency (Required | Optional | ZeroOrMore | OneOrMore) 'Required'
	</More>
 	<AttDef Name='ElementNS' 
		Type='CData' >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
	<AttDef Name='Frequency' 
		Type='Enumerated' 
		AttValue='Required' >
			<Enumeration name='Required' />
			<Enumeration name='Optional' />
			<Enumeration name='ZeroOrMore' />
			<Enumeration name='OneOrMore' />
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='AttGroup'>
	<More xml:space='preserve' >The XML content model was 
		(Doc?, More?, (AttDef | AttGroup)*) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref Frequency='Optional' Element='Doc' />
				<Ref Frequency='Optional' Element='More' />
			<Choice Frequency='ZeroOrMore'>
				<Ref  Element='AttDef' />
				<Ref Element='AttGroup' />
			</Choice>
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		ns        CDATA   #IMPLIED
    prefix    NMTOKEN #IMPLIED
    id        ID      #IMPLIED
	</More>
 	<AttDef Name='ns' 
		Type='CData' >
	</AttDef>
	<AttDef Name='prefix' 
		Type='Nmtoken' >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='AttDef'>
	<More xml:space='preserve' >The XML content model was 
		(Doc?, More?, Enumeration?) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref Frequency='Optional' Element='Doc' />
				<Ref Frequency='Optional' Element='More' />
				<Ref  Frequency='Optional' Element='Enumeration' />
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		Name      NMTOKEN      #REQUIRED
    ns        CDATA        #IMPLIED
    prefix    NMTOKEN      #IMPLIED
    Type      (CData    |
               ID       |
               IDRef    |
               IDRefs   |
               Entity   |
               Entities |
               Nmtoken  |
               Nmtokens |
               Notation |
               Enumerated) "CData"
    Required  (Yes | No)   "No"
    AttValue  CDATA        #IMPLIED
    id        ID           #IMPLIED
	</More>
 	<AttDef Name='Name' 
		Type='Nmtoken' 
		Required='Yes' >
	</AttDef>
	<AttDef Name='ns' 
		Type='CData' >
	</AttDef>
	<AttDef Name='prefix' 
		Type='Nmtoken' >
	</AttDef>
	<AttDef Name='Type' 
		Type='Enumerated' 
		AttValue="CData" >
			<Enumeration name='CData' />
			<Enumeration name='ID' />
			<Enumeration name='IDRef' />
			<Enumeration name='IDRefs' />
			<Enumeration name='Entity' />
			<Enumeration name='Entities' />
			<Enumeration name='Nmtoken' />
			<Enumeration name='Nmtokens' />
			<Enumeration name='Notation' />
			<Enumeration name='Enumerated' />
	</AttDef>
	<AttDef Name='Required' 
		Type='Enumerated' 
		AttValue="No" >
			<Enumeration name='Yes' />
			<Enumeration name='No' />
	</AttDef>
	<AttDef Name='AttValue' 
		Type='CData' >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='Enumeration'>
	<More xml:space='preserve' >The XML content model was 
		(Doc?, More?, EnumerationValue+) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref Frequency='Optional' Element='Doc' />
				<Ref Frequency='Optional' Element='More' />
				<Ref  Frequency='OneOrMore' Element='EnumerationValue' />
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		id ID #IMPLIED
	</More>
 	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='EnumerationValue'>
	<More xml:space='preserve' >The XML content model was 
		(Doc?, More?) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref Frequency='Optional' Element='Doc' />
				<Ref  Frequency='Optional' Element='More' />
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		Value CDATA #REQUIRED
	</More>
 	<AttDef Name='Value' 
		Type='CData' 
		Required='Yes' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='Notation'>
	<More xml:space='preserve' >The XML content model was 
		(Doc?, More?) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref Frequency='Optional' Element='Doc' />
				<Ref  Frequency='Optional' Element='More' />
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		Name          NMTOKEN #REQUIRED
    PubidLiteral  CDATA   #IMPLIED
    SystemLiteral CDATA   #IMPLIED
    id           ID      #IMPLIED
	</More>
 	<AttDef Name='Name' 
		Type='Nmtoken' 
		Required='Yes' >
	</AttDef>
	<AttDef Name='PubidLiteral' 
		Type='CData' >
	</AttDef>
	<AttDef Name='SystemLiteral' 
		Type='CData' >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='UnparsedEntity'>
	<More xml:space='preserve' >The XML content model was 
		(Doc?, More?) 
	</More>
	
	<Model>
			<Seq Frequency='Required'>
				<Ref Frequency='Optional' Element='Doc' />
				<Ref  Frequency='Optional' Element='More' />
			</Seq>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		Name          NMTOKEN #REQUIRED
    SystemLiteral CDATA   #REQUIRED
    PubidLiteral  CDATA   #IMPLIED
    Notation      NMTOKEN #REQUIRED
    id            ID      #IMPLIED
	</More>
 	<AttDef Name='Name' 
		Type='Nmtoken' 
		Required='Yes' >
	</AttDef>
	<AttDef Name='SystemLiteral' 
		Type='CData' 
		Required='Yes' >
	</AttDef>
	<AttDef Name='PubidLiteral' 
		Type='CData' >
	</AttDef>
	<AttDef Name='Notation' 
		Type='Nmtoken' 
		Required='Yes' >
	</AttDef>
	<AttDef Name='id' 
		Type='ID' >
	</AttDef>
</AttGrp>
</ElementDecl>

<UnParsedEntity Name='ibtwsh' SystemLiteral='http://www.ccil.org/~cowan/XML/ibtwsh.dtd' />

<ElementDecl Name='DDML:Doc'>
	<More xml:space='preserve' >The XML content model was 
		ANY 
	</More>
	
	<Model>
		<Any />
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		xmlns CDATA #FIXED ""
	</More>
 	<AttDef Name='xmlns' 
		Type='CData' 
		AttValue="" >
	</AttDef>
</AttGrp>
</ElementDecl>

<ElementDecl Name='DDML:More'>
	<More xml:space='preserve' >The XML content model was 
		(#PCDATA | Any ) 
	</More>
	
	<Model>
		<Mixed>
			<Seq Frequency='Required'>
				<Ref Element='Any' />
			</Seq>
		</Mixed>
	</Model>
<AttGrp >
	<More xml:space='preserve' >The XML attribute list was 
		xmlns CDATA ""
	</More>
 	<AttDef Name='xmlns' 
		Type='CData' 
		AttValue="" >
	</AttDef>
</AttGrp>
</ElementDecl>
</DocumentDef>