<!ELEMENT patent-analyzed (#PCDATA|bibliographic-data|abstract|claims|description)*>
<!ELEMENT bibliographic-data (#PCDATA|br|classification-ipc|number-of-claims|application-date|f-term-info)*>
<!ELEMENT claims (subject-of-claims|effect-of-claims|purpose-of-claims|claim)*>
<!ELEMENT description (#PCDATA|technical-field|background-art|tech-problem|tech-solution|best-mode|mode-for-invention|advantageous-effects|description-of-drawings|function-of-invention)*>
<!ELEMENT subject-of-claims (#PCDATA)>
<!ELEMENT effect-of-claims (#PCDATA)>
<!ELEMENT purpose-of-claims (#PCDATA)>
<!ELEMENT  claim  ( effect-of-claim |claim-text|claim-info|dependent-claim-structure|claim-structure|comment)*>
<!ELEMENT dependent-claim-structure (target, restriction)>
<!ELEMENT claim-structure (premise-part|body-part)*>
<!ELEMENT comment (target-of-explanation, explanation)>
<!ELEMENT premise-part (segment|defining-matter)*>
<!ELEMENT body-part (segment|defining-matter)*>
<!ELEMENT br EMPTY>
<!ELEMENT defining-matter (#PCDATA|phrase|segment)*>
<!ELEMENT segment (#PCDATA|phrase|segment|defining-matter)*> 
<!ELEMENT target (#PCDATA)>
<!ELEMENT restriction (#PCDATA)>
<!ELEMENT technical-field (#PCDATA)>
<!ELEMENT background-art (#PCDATA)>
<!ELEMENT tech-problem (#PCDATA)>
<!ELEMENT tech-solution (#PCDATA)>
<!ELEMENT best-mode (#PCDATA|p)*>
<!ELEMENT mode-for-invention (#PCDATA|p)*>
<!ELEMENT advantageous-effects (#PCDATA|p)*>
<!ELEMENT description-of-drawings (#PCDATA|p)*>
<!ELEMENT function-of-invention (#PCDATA|p)*>
<!ELEMENT p (#PCDATA)>
<!ELEMENT effect-of-claim (#PCDATA)>
<!ELEMENT target-of-explanation (#PCDATA)>
<!ELEMENT explanation  (#PCDATA)>
<!ELEMENT phrase (#PCDATA)>
<!ELEMENT classification-ipc (#PCDATA)>
<!ELEMENT number-of-claims (#PCDATA)>
<!ELEMENT application-date (#PCDATA)>
<!ELEMENT f-term-info (#PCDATA)>
<!ELEMENT abstract (#PCDATA|br)*>
<!ELEMENT claim-text (#PCDATA)>
<!ELEMENT claim-info EMPTY>

<!ATTLIST patent-analyzed 
	date-of-analysis	CDATA   #IMPLIED
	stage			CDATA	#IMPLIED
	duration		NMTOKEN	#IMPLIED
	number-of-quotation     NMTOKEN	#IMPLIED
	number-of-amendment	NMTOKEN	#IMPLIED
	number-of-rejection     NMTOKEN	#IMPLIED
	field			CDATA		#IMPLIED
	kind			CDATA		#IMPLIED
>

<!ATTLIST claims
	number-of-independent-claims	NMTOKEN #IMPLIED
	number-of-categories	        NMTOKEN #IMPLIED
	nest-level			NMTOKEN #IMPLIED
	number-of-characters		NMTOKEN #IMPLIED
	number-of-claims-of-representation-category	
					NMTOKEN #IMPLIED
	number-of-independent-claims-of-representation-category	
					NMTOKEN #IMPLIED
	nest-level-of-representation-category	
					NMTOKEN #IMPLIED
	number-of-characters-of-representation-category	
					NMTOKEN #IMPLIED
	number-of-vague-terms		NMTOKEN #IMPLIED
	number-of-purpose-terms		NMTOKEN #IMPLIED
	number-of-not-explained-elements
                                  	NMTOKEN #IMPLIED
	number-of-not-explained-terms	NMTOKEN #IMPLIED
	number-of-not-fully-explained-elements
					NMTOKEN #IMPLIED
	number-of-not-fully-explained-terms	
                                        NMTOKEN #IMPLIED
	number-of-inappropriate-dependent-claims	
					NMTOKEN #IMPLIED 
>

<!ATTLIST claim
	num			CDATA   #REQUIRED
>

<!ATTLIST claim-info 
	claim-title            CDATA    #IMPLIED
	parent                 CDATA    #IMPLIED
	type1 (independent|dependent)   #REQUIRED
	type2                  CDATA    #IMPLIED
	number-of-substantial-defining-matters     NMTOKEN  #IMPLIED
	number-of-substantial-defining-matters-of-premise     NMTOKEN  #IMPLIED
	number-of-substantial-defining-matters-of-feature     NMTOKEN  #IMPLIED
	category (device|method|program|media)
                                        #IMPLIED
	number-of-characters	NMTOKEN #IMPLIED
	number-of-phrases	NMTOKEN #IMPLIED
	number-of-characters-of-premise	NMTOKEN #IMPLIED
	number-of-characters-of-feature	NMTOKEN #IMPLIED
	number-of-phrases-of-premise		NMTOKEN #IMPLIED
	number-of-phrases-of-feature		NMTOKEN #IMPLIED
	corresponding-embodiment-num	CDATA #IMPLIED
>

<!ATTLIST dependent-claim-structure 
	type	(internalAddtion|externalAddition|other) "internalAddtion"
	element (yes|no) "yes"
>

<!ATTLIST defining-matter
        id ID #IMPLIED
        level NMTOKEN #IMPLIED
        seqno NMTOKEN #IMPLIED
        name CDATA #IMPLIED
        aligned (yes|no) #IMPLIED
        number-of-defining-matter-characters NMTOKEN #IMPLIED
        number-of-defining-matter-phrases NMTOKEN #IMPLIED
	type (substantial|formal) "substantial"
	stype (sequence|component|modifier|element|postpositional|jepson-cue|head|compose-cue|compose-feature-cue|formal-feature-cue|feature-cue|formal|body) "sequence"
>

<!ATTLIST segment 
        id ID #IMPLIED 
        level NMTOKEN #IMPLIED
        seqno NMTOKEN #IMPLIED
	stype (sequence|component|modifier|element|postpositional|jepson-cue|head|compose-cue|feature-cue|formal|body) "sequence"
>

<!ATTLIST phrase
	id			CDATA 	#IMPLIED
	modifying-phrase-id	CDATA	#IMPLIED >

<!ATTLIST target
        id   ID       #REQUIRED
>

<!ATTLIST comment
        id   ID       #REQUIRED
>

<!ATTLIST description
	number-of-quoted-patents	NMTOKEN	#IMPLIED
	number-of-quoted-non-patents
				NMTOKEN	#IMPLIED
	number-of-embodiments NMTOKEN	#IMPLIED 
	number-of-examples	NMTOKEN	#IMPLIED
	number-of-embodiment-characters	
				NMTOKEN	#IMPLIED
	number-of-embodiment-phrases 		
				NMTOKEN	#IMPLIED 
	number-of-example-terms	NMTOKEN	#IMPLIED
	number-of-etc-terms		NMTOKEN	#IMPLIED
	number-of-expansion-terms	NMTOKEN	#IMPLIED
	number-of-formulae	NMTOKEN	#IMPLIED
	number-of-chemical-formulae
				NMTOKEN	#IMPLIED
number-of-effect-expression
				NMTOKEN	#IMPLIED
	number-of-figures	NMTOKEN	#IMPLIED
	number-of-block-figs	NMTOKEN	#IMPLIED
	number-of-flowcharts	NMTOKEN	#IMPLIED
	number-of-data-diagrams	NMTOKEN	#IMPLIED
	number-of-output-figs	NMTOKEN	#IMPLIED
	number-of-hardware-figs	NMTOKEN	#IMPLIED
	number-of-no-example-creation-terms	
				NMTOKEN	#IMPLIED
	number-of-no-example-higher-concept-terms
				NMTOKEN	#IMPLIED
	number-of-sentences-more-than-limit	
				NMTOKEN	#IMPLIED
	number-of-paragraphs-more-than-limit
				NMTOKEN	#IMPLIED
	number-of-no-subject-sentences
				NMTOKEN	#IMPLIED
	number-of-complex-sentences
				NMTOKEN	#IMPLIED
	number-of-paragraph-of-additional-explanation
				NMTOKEN	#IMPLIED 
> 

<!ATTLIST mode-for-invention
	corresponding-claim-num CDATA #IMPLIED
	mode-num NMTOKEN #IMPLIED
>

<!ATTLIST p
	num CDATA #IMPLIED
>
