<!-- ===========================================================

    content  (Wanda CONTENT  Modeling Language)
    
    author: Isabelle Guyon, Katrin Fanke, Lambert Schomaker
    institution: Clopinet,  Fraunhofer IPK, 
                 Rijksuniversiteit Groningen
    version: 1.0
    created: 2002-03-25-00-00
    modified: 2003-05-08-00-00
    
============================================================ -->
<!ENTITY % document_type_types 
            " * | writing_product | note | letter | check | 
            greeting_card | envelope | postcard | bank_transfer
            | post_sticker | hotel_registration | 
            foreigner_script | contract | last_will | 
            work_permit | tax_form | registration_form | 
            excerpt ">
<!ENTITY % intent_types 
            " * | message | bomb_threat | threat | extortion | 
            blackmail | pornography | child_porn | 
            drugs_related | financial_fraud | terrorism | 
            racism | personal | public ">
<!ENTITY % text_block_type_types 
            " * | whole_form | addressee_address_block | 
            sender_address_block | personal_name | 
            geographical_name | zipcode | legal_amount |
            currency_amount | telephone_number | digits | 
            abbreviation | signature | paraph | plain_text ">
<!ENTITY % misc_block_type_types 
            " * | postal_stamp | ink_stamp | barcode | 
            printed_text | fingerprint | stain | drawing | 
            scribble | graffiti ">
<!ENTITY % text_length_types 
            " * | character | word | few_words | line | 
            paragraph | page | pages ">
<!ENTITY % tone_types 
            " * | kind | neutral | threatening | angry | 
            sad | happy ">
<!ENTITY % grammar_types " * | bad | ok | good ">
<!ENTITY % spelling_types " * | bad | ok | good ">
            
<!ELEMENT content (document?, text_block?, misc_block?, meta?)>

<!ELEMENT meta EMPTY>
<!ATTLIST meta
    author CDATA #REQUIRED
    email CDATA #REQUIRED
    institution CDATA #REQUIRED
    version CDATA #REQUIRED
    created CDATA #REQUIRED
    modified CDATA #REQUIRED
>

<!ELEMENT document EMPTY>
<!ATTLIST document
    type (%document_type_types;) #REQUIRED
    intent (%intent_types;) #REQUIRED
>

<!ELEMENT text_block (properties?, verbatim?)>
<!ATTLIST text_block
    type (%text_block_type_types;) #REQUIRED
    length (%text_length_types;) #REQUIRED
>

<!ELEMENT misc_block EMPTY>
<!ATTLIST misc_block
    type (%misc_block_type_types;) #REQUIRED
>

<!ELEMENT properties EMPTY>
<!ATTLIST properties
    tone (%tone_types;) #REQUIRED
    grammar (%grammar_types;) #REQUIRED
    spelling (%spelling_types;) #REQUIRED
>

<!ELEMENT verbatim (#PCDATA)>