<?xml version="1.0" encoding="UTF-8"?>

    <!--************************************************************************
    * ep-cms-sfd-request v1.1 - 1 March 2015
    * For EPO new online filing (CMS) form 1038
    *
    * This dtd is based on ep-sfd-request-v2-4.dtd
    * DTD version 1.0 REVISION G - May 2014
    * DTD version 1.1 - 1 March 2015
    * DTD version 1.2 - 4 October 2016
	* DTD version 1.6 - 29 April 2022
    ************************************************************************
    * PUBLIC
    ************************************************************************
    * Changes v1-0 -> v1-1
    * Added options Appeal and All-procedures to ep-procedural-phase
    *
    * Changes v1-1 -> v1-2
    * Extended ep-declarations,
    * Added written_request_for_accelerated_processing_EP_application
    * Added enquiry_regarding_expected_issue_of_search_report
	*
	* Changes v1.3 -> v1.7
	* Added request_examination_in_admissible_non-EPO_language
	* Added ep-request-for-exam-art94
    ************************************************************************

    EP or PCT sfd-request FORM : RO1038 (root element)

    attributes for ep-cms-sfd-request

    Attributes:
    lang = language of application - use ISO639 language code
    dtd-version = dtd version number
    file = filename of the whole application
    status = status of the application;
    values: n = new application
    date-produced = YYYYMMDD e.g, 20011230
    if desired, 12 characters maximum
    ro = Receiving office name, country code ST.3
    regulation = filing procedure
    produced-by = creator of this document
    Added options Appeal and All-procedures to ep-procedural-phase attribute in DTD 1.1 01-03-2015
    Extended ep-declarations in DTD 1.2 04-10-2016:
      Added written_request_for_accelerated_processing_EP_application
      Added enquiry_regarding_expected_issue_of_search_report
    -->
    <!ELEMENT ep-cms-sfd-request ((document-id+, (file-reference-id)?, parties, ep-declarations?, (check-list)?, (language-of-filing)?, (signatories)?, (dtext)?, (office-specific-data)*)| (doc-page)+)>
    <!ATTLIST ep-cms-sfd-request
        lang CDATA #REQUIRED
        dtd-version CDATA #IMPLIED
        file CDATA #IMPLIED
        status CDATA #IMPLIED
        date-produced CDATA #IMPLIED
        ro CDATA #REQUIRED
        regulation (EPC | PCT) #REQUIRED
        capacity (RO | ISA | IPEA | SISA) #IMPLIED
        ep-procedural-phase (Filing | Search | Examination | Opposition | Limitation_Revocation | Not-sure | Appeal | All-procedures) #IMPLIED
        produced-by (applicant | RO | ISA | IPEA | IB | DO | EO) #REQUIRED
        >
    <!--*
    Removed (declarations)? in version dtd 2-04
    Added ep-declarations? in version dtd 2-04
    for declaration-of-entity-or-natural-person-under-rule-6-3 Declaration for EPC Rule 6(3) as of 1/4/2014
    -->
    <!ELEMENT ep-declarations (declaration-of-entity-or-natural-person-under-rule-6-3?, written_request_for_accelerated_processing_EP_application?, enquiry_regarding_expected_issue_of_search_report?, request_examination_in_admissible_non-EPO_language?) >

    <!ELEMENT written_request_for_accelerated_processing_EP_application (request_for_accelerated_search?, request_for_accelerated_examination?)>
    <!ELEMENT request_for_accelerated_search EMPTY>
    <!ELEMENT request_for_accelerated_examination EMPTY>
    <!--*
    written request for accelerated processing of the EP application, filed under the PACE programme (Programme for ACcelerated prosecution of European patent applications),  as of 1/1/2016
    either the "request for accelerated processing" is available or the "enquiry regarding the expected issue of the search report" or none. If both are available at the same time then a validation error will occur after import
    -->

    <!ELEMENT enquiry_regarding_expected_issue_of_search_report EMPTY>
    <!--*
    Enquiry regarding expected issue of search report, filed under the PACE programme (Programme for ACcelerated prosecution of European patent applications),  as of 1/1/2016
    -->
	
	<!ELEMENT request_examination_in_admissible_non-EPO_language EMPTY>
	<!--*
	request_examination_in_admissible_non-EPO_language
	Added for version dtd 1-6
	-->

    <!--*
    Declaration for EPC Rule 6(3) as of 1/4/2014    
    Added for version dtd 2-04
    -->
    <!ELEMENT declaration-of-entity-or-natural-person-under-rule-6-3 EMPTY>

    <!--Document identification refers to patents (and patent
    applications) only. See WIPO ST.14
    -->
    <!ELEMENT document-id (country, doc-number, kind, (name)?, (date)?)>
    <!ATTLIST document-id
        lang CDATA #IMPLIED
        >
    <!--Country: use ST.3 country code, e.g. DE, FR, GB, NL, etc.
    Also includes EP, WO
    -->
    <!ELEMENT country (#PCDATA)>
    <!--the number of the referenced patent (or application) document
    -->
    <!ELEMENT doc-number (#PCDATA)>
    <!--document kind code:
    - application for application number
    - publication for publication number (opposition)
    -->
    <!ELEMENT kind (#PCDATA)>
    <!--name: if no distinction or detail can be given.
    Also to be used for: personal (natural person) and corporate
    (legal entity) names
    -->
    <!ELEMENT name (#PCDATA)>
    <!ATTLIST name
        name-type (legal | natural) #IMPLIED
        >
    <!--date: components of a date. Format: YYYYMMDD
    -->
    <!ELEMENT date (#PCDATA)>
    <!--applicant's or agent's file reference, if desired,
    12 characters maximum
    -->
    <!ELEMENT file-reference-id (#PCDATA)>

    <!--bold formatting for text
    -->
    <!ELEMENT b (#PCDATA | i | u | smallcaps | br)*>
    <!--italic formatting for text
    -->
    <!ELEMENT i (#PCDATA | b | u | smallcaps | br)*>
    <!--underscore: style - single is default
    -->
    <!ELEMENT u (#PCDATA | b | i | smallcaps)*>
    <!ATTLIST u
        style (single | double | dash | dots) "single"
        >
    <!--small capitals
    -->
    <!ELEMENT smallcaps (#PCDATA | b | u | i | br)*>
    <!--br - break, line break within a paragraph
    -->
    <!ELEMENT br EMPTY>
    <!--superscripted text
    -->
    <!ELEMENT sup (#PCDATA | b | u | i)*>
    <!--subscripted text
    -->
    <!ELEMENT sub (#PCDATA | b | u | i)*>
    <!--PCT/RO/101 Box No.II, III and IV APPLICANTS, FURTHER APPLICANT(S)
    AND/OR (FURTHER) INVENTOR(S)AGENT OR COMMON REPRESENTATIVE;
    OR ADDRESS FOR CORRESPONDENCE (PCT Rule 4.5, 4.6, 4.7, 4.8)
    -->
    <!ELEMENT parties (applicants, (agents)?, (inventors)?, (correspondence-address)?)>
    <!--Applicants information:
    At least one of the applicants named must be a resident or national
    of a PCT Contracting State for which the receiving Office acts.
    -->
    <!ELEMENT applicants (ep-applicant)+>
    <!--Applicant information:
    attributes for applicant
    sequence : sequence number of each applicant
    e.g, sequence="1"
    app-type : applicant type
    app-type="applicant" : the applicant is only applicant
    app-type="applicant-inventor" : the applicant is
    also inventor
    app-type="proprietor" the applicant is propietor
    app-type="opponent" the applicant is opponent
    app-type="intervener" the applicant is intervener
    app-type="third_party" the applicant is third party
    app-type="employee" the applicant is employee

    designation: This person is applicant for the purpose of:
    designation="all" : all designated states
    designation="all-except-us" : all designated states
    except US
    designation="us-only" : US only
    designation="as-indicated" : the states indicated in
    designated-states element
    under applicant element
    -->
    <!ELEMENT ep-applicant ((addressbook)+, nationality, residence, (us-rights)*, (designated-states)?, (designated-states-as-inventor)?)>
    <!ATTLIST ep-applicant
        sequence CDATA #REQUIRED
        app-type (applicant | employee | applicant-inventor | proprietor | opponent | intervener | third_party) #REQUIRED
        designation (all | all-except-us | us-only | as-indicated) #REQUIRED
        >
    <!--ADDRESSBOOK GROUP:
    Holds name and contact information for individuals/organizations

    The LANG attribute is REQUIRED for certain document types, e.g.
    the JPO PCT Request where names and addresses may be repeated in
    two different languages. If no structure possible use text.
    -->
    <!ELEMENT addressbook ((((name | ((prefix)?, last-name, first-name, (middle-name)?, (suffix)?, (iid)?, (role)?, (orgname)?, (department)?, (synonym)*)), (registered-number)?), address, (phone)*, (fax)*, (email)*, (url)*, (ead)*, (dtext)?) | text)>
    <!ATTLIST addressbook
        lang CDATA #REQUIRED
        >
    <!--title: e.g., Mr., Mrs., Dr. etc
    -->
    <!ELEMENT prefix (#PCDATA)>
    <!--last, family, surname
    -->
    <!ELEMENT last-name (#PCDATA)>
    <!--First or given name(s), initial(s)
    -->
    <!ELEMENT first-name (#PCDATA)>
    <!--middle name(s) or initial(s)
    -->
    <!ELEMENT middle-name (#PCDATA)>
    <!--name suffix (e.g., II, Jr., Dip., Ing., BA, etc.)
    -->
    <!ELEMENT suffix (#PCDATA)>
    <!--individual id
    -->
    <!ELEMENT iid (#PCDATA)>
    <!--role, e.g. President, Chairman, etc.
    -->
    <!ELEMENT role (#PCDATA)>
    <!--organisation name or company name
    -->
    <!ELEMENT orgname (#PCDATA)>
    <!--department, division, section, etc. name
    -->
    <!ELEMENT department (#PCDATA)>
    <!--synonym
    -->
    <!ELEMENT synonym (#PCDATA)>
    <!--registered number
    -->
    <!ELEMENT registered-number (#PCDATA)>
    <!--address components:
    Address formats differ from country to country
    If no structure possible use text
    -->
    <!ELEMENT address (((address-1)?, (address-2)?, (address-3)?, (mailcode)?, (pobox)?, (room)?, (address-floor)?, (building)?, (street)?, (city)?, (county)?, (state)?, postcode, country) | text)>
    <!--Address, first line
    -->
    <!ELEMENT address-1 (#PCDATA)>
    <!--Address, second line
    -->
    <!ELEMENT address-2 (#PCDATA)>
    <!--Address, third line
    -->
    <!ELEMENT address-3 (#PCDATA)>
    <!--organizational mail code
    -->
    <!ELEMENT mailcode (#PCDATA)>
    <!--Post Office Box number
    -->
    <!ELEMENT pobox (#PCDATA)>
    <!--address room; e.g., Room 55B
    -->
    <!ELEMENT room (#PCDATA)>
    <!--address floor, e.g., 10th
    -->
    <!ELEMENT address-floor (#PCDATA)>
    <!--building information in address, e.g., Hoffman building
    -->
    <!ELEMENT building (#PCDATA)>
    <!--street may contain house number or name
    -->
    <!ELEMENT street (#PCDATA)>
    <!--City or town name
    -->
    <!ELEMENT city (#PCDATA)>
    <!--County, parish, department, etc (mainly UK, USA)
    -->
    <!ELEMENT county (#PCDATA)>
    <!--Region of country eg. state, province, etc.
    -->
    <!ELEMENT state (#PCDATA)>
    <!--postal code or zip code
    -->
    <!ELEMENT postcode (#PCDATA)>
    <!--if no structure is possible, enter text (without markup)
    -->
    <!ELEMENT text (#PCDATA)>
    <!--telephone number
    -->
    <!ELEMENT phone (#PCDATA)>
    <!--fax number
    -->
    <!ELEMENT fax (#PCDATA)>
    <!--email address
    -->
    <!ELEMENT email (#PCDATA)>
    <!--Universal Resource Locator; e.g. www.wipo.int
    -->
    <!ELEMENT url (#PCDATA)>
    <!--electronic address use for other than email
    -->
    <!ELEMENT ead (#PCDATA)>
    <!--Descriptive text
    -->
    <!ELEMENT dtext (#PCDATA)>
    <!--country of nationality
    -->
    <!ELEMENT nationality (country)>
    <!--country of residence
    -->
    <!ELEMENT residence (country)>
    <!--This person is successor to the rights of an inventor who is
    deceased, insane, or legally incapacitated, for the purposes
    of the designation of the United States of America
    -->
    <!ELEMENT us-rights (#PCDATA)>
    <!ATTLIST us-rights
        to-dead-inventor CDATA #REQUIRED
        kind (heir | heiress | executor | executrix | estate) #REQUIRED
        >
    <!--indication of specific Contracting States in or for which
    the applicant is seeking protection for his invention
    (Rule 4.9(a))
    -->
    <!ELEMENT designated-states ((country)*, (region, (country)+)*)>
    <!--the region for which protection or exclusion (depending upon
    context) is desired
    -->
    <!ELEMENT region (country)>
    <!--Rule 4.6(c):
    "The request may, for different designated states, indicate
    different persons as inventors where, in this respect, the
    requirements of the national laws of the designated States
    are not the same. In such a case, the request shall contain
    a separate statement for each designated State or group of
    States in which a particular person, or the same person, is
    to be considered the inventor, or in which particular persons,
    or the same persons, are to be considered the inventors."
    -->
    <!ELEMENT designated-states-as-inventor ((country)*, (region, (country)+)*)>
    <!--Inventors information:
    If the US is designated, all of the inventors must also
    be named as applicants for purposes of that designation.
    -->
    <!ELEMENT inventors ((inventor)+, (deceased-inventor)*)>
    <!--the individual or entity responsible for creating the
    matter that protection is sought for
    -->
    <!ELEMENT inventor ((addressbook)+, (designated-states)?)>
    <!ATTLIST inventor
        sequence CDATA #REQUIRED
        designation (all | all-except-us | us-only | as-indicated) #IMPLIED
        >
    <!--deceased inventor name
    -->
    <!ELEMENT deceased-inventor ((name | ((prefix)?, last-name, first-name, (middle-name)?, (suffix)?, (iid)?, (role)?, (orgname)?, (department)?, (synonym)*)), (registered-number)?)>
    <!--address used for general correspondence
    -->
    <!ELEMENT correspondence-address (customer-number | (addressbook)+)>
    <!--customer number for agents by office
    -->
    <!ELEMENT customer-number (#PCDATA)>
    <!--information regarding Agents or common representatives
    -->
    <!ELEMENT agents (customer-number | (ep-agent)+)>
    <!--Agent or common representative (Rules 90.1, 90.2)
    -->
    <!ELEMENT ep-agent (addressbook, (applicant-name)?)+>
    <!-- July 2013, added ep-association-number (D. Van Haken - dvanhaken@epo.org, D. Prakopchyk - dprakopchyk@epo.org)
    -->
    <!ATTLIST ep-agent
        sequence CDATA #REQUIRED
        rep-type (agent | attorney | common-representative) #REQUIRED
        ep-association-number CDATA #IMPLIED
        >
    <!-- name of represented party -->
    <!ELEMENT applicant-name (#PCDATA)>

    <!--PCT/RO/101 Box No.V Designation Of States (PCT Rule 4.9)
    -->
    <!ELEMENT regional (region, (country, (protection-request)?)+, (any-other-state)?)>
    <!--protection request for the designated office.
    -->
    <!ELEMENT protection-request (kind-of-protection, (document-id)?)>
    <!--kind of protection; e.g., patent, utility model
    -->
    <!ELEMENT kind-of-protection (#PCDATA)>
    <!--any other state in which protection is being sought
    -->
    <!ELEMENT any-other-state EMPTY>
    <!--the States for which protection or exclusion (depending upon
    context) is desired
    -->
    <!ELEMENT national (country, (protection-request)?)+>
    <!--New PCT member country states (e.g., not yet published in WIPO ST.3,
    joined after PCT electronic filing software published)
    -->
    <!ELEMENT new-designation-country (#PCDATA)>
    <!--PCT/RO/101 BOX No.VI Priority Claim (PCT Rule 4.10)
    -->
    <!--Where the earlier application is an ARIPO application,indicate at
    least one country party to the PARIS convention for the protection
    of industrial property or one member of the WTO for which that
    earlier application was filed.
    -->
    <!ELEMENT office-of-filing ((region, (country)?) | country)>
    <!--the receiving office is requested to prepare and transmit
    to the IB a certified copy of the earlier application
    -->
    <!ELEMENT priority-doc-requested EMPTY>
    <!--the priority document is attached to the application
    -->
    <!ELEMENT priority-doc-attached EMPTY>
    <!--PCT/RO/101 Box No.VII :International Searching Authority
    -->
    <!ELEMENT isa (country)>
    <!--request to use results of earlier search;
    reference to that search
    -->
    <!ELEMENT earlier-search-request (document-id)+>
    <!--PCT/RO/101 Box No. VIII: DECLARATIONS
    (Rules 4.1(c)(iii) and 4.17)
    -->
    <!ELEMENT declarations ((declaration1)?, (declaration2)?, (declaration3)?, (declaration4)?, (declaration5)?)>
    <!--Declaration as to the identity of the inventor
    (Rules 4.17(i) and 51bis.1(a)(i))
    -->
    <!ELEMENT declaration1 EMPTY>
    <!ATTLIST declaration1
        quantity CDATA #REQUIRED
        >
    <!--Declaration as applicant's entitlement, as at the international
    filing date, to apply for and be granted a patent (Rules 4.17(ii)
    and 51bis.1(a)(ii)), in a case where the declaration under Rule
    4.17(iv) is not appropriate
    -->
    <!ELEMENT declaration2 EMPTY>
    <!ATTLIST declaration2
        quantity CDATA #REQUIRED
        >
    <!--Declaration as applicant's entitlement, as at the international
    filing date, to claim the priority of the earlier application,
    where the applicant is not the applicant who filed the earlier
    application or where the applicant's name has changed since the
    filing of the earlier application
    (Rules 4.17(iii) and 51bis.1(a)(iii)).
    -->
    <!ELEMENT declaration3 EMPTY>
    <!ATTLIST declaration3
        quantity CDATA #REQUIRED
        >
    <!--Declaration of inventorship (Rules 4.17(iv) and 51bis.1(a)(iv)) for
    the purposes of the designation of the United States of America
    -->
    <!ELEMENT declaration4 EMPTY>
    <!ATTLIST declaration4
        quantity CDATA #REQUIRED
        >
    <!--Declaration as to non-prejudical disclosures or exceptions to
    lack of novelty (Rules 4.17(v) and 51bis.1(a)(v))
    -->
    <!ELEMENT declaration5 EMPTY>
    <!ATTLIST declaration5
        quantity CDATA #REQUIRED
        >
    <!--Request (PCT/RO/101) BOX No.IX Check list, figure number to
    publish and language of International Application check-list
    -->
    <!ELEMENT check-list ((cl-request)?, ep-request-for-exam-art94?, (cl-description)?, (cl-claims)?, (cl-abstract)?, (cl-drawings)?, (cl-sequence-listing)?, (cl-fee-calculation)?, (cl-separate-power-of-attorney)?, (cl-general-power-of-attorney)?, (cl-copy-general-power-of-attorney)?, (cl-lack-of-signature)?, (cl-priority-document)?, (cl-translation-of-application)?, (cl-biological-material)?, (cl-other-document)*)>
    <!--checklist; the request is being furnished
    -->
    <!ELEMENT cl-request EMPTY>
    <!ATTLIST cl-request
        page-count CDATA #IMPLIED
        >
    <!--checklist; a description is being furnished
    -->
    <!ELEMENT cl-description EMPTY>
    <!ATTLIST cl-description
        page-count CDATA #IMPLIED
        >
    <!--checklist; claims are being furnished
    -->
    <!ELEMENT cl-claims EMPTY>
    <!ATTLIST cl-claims
        page-count CDATA #IMPLIED
        >
    <!--checklist; the abstract is being furnished
    -->
    <!ELEMENT cl-abstract EMPTY>
    <!ATTLIST cl-abstract
        page-count CDATA #IMPLIED
        >
    <!--checklist; drawings are being furnished
    -->
    <!ELEMENT cl-drawings EMPTY>
    <!ATTLIST cl-drawings
        page-count CDATA #IMPLIED
        >
    <!--checklist; a sequence listing is being furnished
    -->
    <!ELEMENT cl-sequence-listing EMPTY>
    <!ATTLIST cl-sequence-listing
        quantity CDATA #REQUIRED
        >
    <!--checklist; a fee calculation sheet is being furnished
    -->
    <!ELEMENT cl-fee-calculation EMPTY>
    <!--checklist; a separate power of attorney is being furnished
    -->
    <!ELEMENT cl-separate-power-of-attorney EMPTY>
    <!ATTLIST cl-separate-power-of-attorney
        quantity CDATA #REQUIRED
        >
    <!--checklist; a general power of attorney is being furnished
    -->
    <!ELEMENT cl-general-power-of-attorney EMPTY>
    <!ATTLIST cl-general-power-of-attorney
        quantity CDATA #REQUIRED
        >
    <!--checklist; a copy of the general power
    of attorney is being furnished
    -->
    <!ELEMENT cl-copy-general-power-of-attorney (ref-number)+>
    <!ATTLIST cl-copy-general-power-of-attorney
        quantity CDATA #REQUIRED
        >
    <!--Reference number of general power of attorney.
    -->
    <!ELEMENT ref-number (#PCDATA)>
    <!--checklist; a statement explaining lack of
    signature is being furnished
    -->
    <!ELEMENT cl-lack-of-signature EMPTY>
    <!ATTLIST cl-lack-of-signature
        quantity CDATA #REQUIRED
        >
    <!--checklist; a priority document is being furnished
    -->
    <!ELEMENT cl-priority-document (sequence-number)+>
    <!ATTLIST cl-priority-document
        quantity CDATA #REQUIRED
        >
    <!--sequential identification of priority documents. PCT/RO/101 Box VI.
    -->
    <!ELEMENT sequence-number (#PCDATA)>
    <!--check-list; a translation of application is being furnished
    -->
    <!ELEMENT cl-translation-of-application EMPTY>
    <!ATTLIST cl-translation-of-application
        quantity CDATA #REQUIRED
        lang CDATA #IMPLIED
        >
    <!--includes the PCT/RO/134 or any separate sheet containing
    indications that is not included as part of the description
    -->
    <!ELEMENT cl-biological-material EMPTY>
    <!ATTLIST cl-biological-material
        quantity CDATA #REQUIRED
        >
    <!--checklist; an additional document is being furnished
    -->
    <!ELEMENT cl-other-document (#PCDATA)>
    <!ATTLIST cl-other-document
        page-count CDATA #IMPLIED
        >
    <!--figure of the drawings which should accompany the abstract
    -->
    <!ELEMENT figure-to-publish (fig-number)+>
    <!--PCT/RO/101 Box IX: the number of the figure which should
    accompany the abstract
    -->
    <!ELEMENT fig-number (#PCDATA)>
    <!--filing language, ISO639 language code, e.g, en,de,ja, etc.
    -->
    <!ELEMENT language-of-filing (#PCDATA)>
    <!--signatories
    -->
    <!ELEMENT signatories (signatory)+>
    <!--PCT/RO/101 Box No. X:
    The signature must be that of the applicant (if there are several
    applicants, all must sign); however, the signature may be that of
    the agent, or the common representative, where a separate power of
    attorney appointing the agent or the common representative,
    respectively, or a copy of a general power of attorney is already
    in possession of the receiving Office, is furnished...
    (PCT Rules 4.1(d), 4.15, and 90)

    Indicate the capacity of the signer with 'signatory-capacity'
    -->
    <!ELEMENT signatory (((name | ((prefix)?, last-name, first-name, (middle-name)?, (suffix)?, (iid)?, (role)?, (orgname)?, (department)?, (synonym)*)), (registered-number)?), (address)?, electronic-signature, (signatory-capacity)?)>
    <!--a signature represented by electronic means
    -->
    <!ELEMENT electronic-signature (basic-signature | enhanced-signature)>
    <!ATTLIST electronic-signature
        date CDATA #REQUIRED
        place-signed CDATA #IMPLIED
        >
    <!--a non-PKI electronic signature
    -->
    <!ELEMENT basic-signature (fax-image | text-string | click-wrap)>
    <!--a TIFF image of a signature
    -->
    <!ELEMENT fax-image EMPTY>
    <!ATTLIST fax-image
        file CDATA #REQUIRED
        >
    <!--a simple text string is to be used as the basic electronic
    signature, e.g., John Doe <text-string>/jd/</text-string>
    -->
    <!ELEMENT text-string (#PCDATA)>
    <!--a simple 'signature', e.g., clicking a button
    labeled 'accept' or 'I agree'
    -->
    <!ELEMENT click-wrap EMPTY>
    <!--A PKI / PKCS #7 digital signature data type
    -->
    <!ELEMENT enhanced-signature (pkcs7)>
    <!--PKCS7 digital signature
    -->
    <!ELEMENT pkcs7 EMPTY>
    <!--the capacity in which the person signs
    -->
    <!ELEMENT signatory-capacity (#PCDATA)>
    <!--Office is the ST.3 country code, including the regional authorities.
    Office-dtd is the file which contains the DTD for the
    office-specific elements.
    -->
    <!ELEMENT office-specific-data (ep-request-for-exam-art94?, (ep-electronic-files)*, (ep-financial-data)?, ep-notes-to-EPO*)>
    <!ATTLIST office-specific-data
        office CDATA #REQUIRED
        office-dtd CDATA #IMPLIED
        file CDATA #IMPLIED
        id CDATA #IMPLIED
        lang CDATA #REQUIRED
        status CDATA #IMPLIED
        >
	
	<!ELEMENT ep-request-for-exam-art94 EMPTY>
	<!ATTLIST ep-request-for-exam-art94
	lang CDATA #REQUIRED
	>
    <!--* EPO 1038
    -These are references to the external files attached to the
    requrest (now eg. PDF).This data may be in other dtds also.
    The attribute doc-type must be used
    eg. spec; sequence
    - financial data: fees to be paid, payment mode, designation states for fee 005-->
    <!ELEMENT ep-electronic-files (applicant-file-name, ep-file-name)?>
    <!ATTLIST ep-electronic-files
        doc-type CDATA #REQUIRED
        >
    <!ELEMENT applicant-file-name (#PCDATA)>
    <!--* This is the epo file name given by the client software and used
    on the server
    -->
    <!ELEMENT ep-file-name (#PCDATA)>
    <!--doc-page - DOCument or PAGE

    This is primarily to be used when data for the whole or
    major sections of an application are in image format
    OR other formats such as pdf. Page range attributes are
    given when required pp- page range ppf - first page
    ppl - last page (for pdf). The 'img' may also be used
    for complete pages, eg. in drawings

    Recommended id = docp01, docp02, etc.
    -->
    <!ELEMENT ep-financial-data ((mode-of-payment)?, (reimbursement)?, (sr-refund)?, (addcopies)?, (fees)?)>
    <!ATTLIST ep-financial-data
        curr CDATA #REQUIRED
        fee-amounts-unlocked-by-user  (yes | no)  #IMPLIED
        >
    <!ELEMENT mode-of-payment (#PCDATA | cheque-info)*>
    <!ATTLIST mode-of-payment
        accno CDATA #REQUIRED
        mode-type (auto | deposit | batch | bank | giro | cheque | ccard) #REQUIRED
        currency CDATA #IMPLIED
        deferred-execution-date CDATA #IMPLIED
        >
    <!--* deferred-execution-date (yyyymmdd) future date on which the payment should take place
          if invalid or not defined then the earliest date of payment will be used
    -->
    <!ELEMENT cheque-info (#PCDATA)>
    <!ATTLIST cheque-info
        chequeno CDATA #REQUIRED
        amount CDATA #REQUIRED
        >
    <!--* reimbursement off any fees
    -->
    <!ELEMENT reimbursement (#PCDATA)>
    <!ATTLIST reimbursement
        accno CDATA #REQUIRED
        >
    <!--* EPO1038 -
    re-fund of search fee (article 10 Rfees) on the basis
    of the earlier search report-->
    <!ELEMENT sr-refund (#PCDATA)>
    <!--* EPO1038 -
    Number of additional copies of the documents cited in the EP search report-->
    <!ELEMENT addcopies (#PCDATA)>
    <!-- Country*: list of EP Designation states for which the fee 005 applies
      Can only be non empty for fee-code 005
           If country = 'EP'
             - all EPC member states are requested
             - the fee factor = 7
             - only 1 country is allowed in the list ('EP')
           If country does not contain EP:
               If number of countries >= 7 -> fee-factor = 7
               If number of countries <= 6 -> fee-factor = number of countries in the list
             Remark:
             CH-LI counts for 1 country (do not take LI in to account when counting the number of designation states
             -->

    <!--* EPO 1038 - Fees and costs-->
    <!ELEMENT fees ((standard-fee)?, (other-fee)?, (additional-fee)?, (fee-calc-info)?, fee-total-amount)>
    <!ATTLIST fees
        date CDATA #REQUIRED

        >
    <!ELEMENT standard-fee (fee)*>
    <!ELEMENT fee (type-of-fee, fee-factor, fee-schedule, fee-sub-amount, fee-reduction-factor?, fee-reduction-amount?, (country)*)>
    <!ATTLIST fee
        index CDATA #REQUIRED
        topay (yes | no) #REQUIRED
        >
    <!ELEMENT type-of-fee (#PCDATA)>

    <!ELEMENT fee-factor (#PCDATA)>
    <!ATTLIST fee-factor user-input CDATA #IMPLIED>

    <!ELEMENT fee-schedule (#PCDATA)>
    <!ELEMENT fee-sub-amount (#PCDATA)>

    <!--* Added in v2-02 fee-reduction-factor: - -Not to be used until the release of end of 2011- -
    factor to be applied on fee-factor*fee-subamount to define a reduction in percentage,
    for example 20% reduction fee-reduction-factor = "0.8"
    for backward compatibility reasons fee-reduction-factor is assumed to be "1" if not defined
    -->
    <!ELEMENT fee-reduction-factor (#PCDATA)>
    <!ATTLIST fee-reduction-factor user-input CDATA #IMPLIED>

    <!--* Added in v2-02 fee-reduction-amount:  - -Not to be used until the release of end of 2011- -
    reduction in amount to be deducted from fee-factor*fee-subamount*fee-reduction-factor
     to define a reduction in amount
    for example 100 % reduction fee-reduction-amount = "100"
    for backward compatibility reasons fee-reduction-amount is assumed to be "0" if not defined
    -->

    <!ELEMENT fee-reduction-amount (#PCDATA)>
    <!ATTLIST fee-reduction-amount user-input CDATA #IMPLIED>

    <!--* Added in v2-02 fee-reduction-factor, fee-reduction-amount: an example  - -Not to be used until the release of end of 2011- -
    For fee 29, when a reduction of 20% is applied and the fee normally is 45, resulting in
      a fee-factor of 0.8 and a fee-schedule of 36 (=0.8 * 45)
      <fee index="29" topay="yes">
        <type-of-fee>standard</type-of-fee>
        <fee-factor>0.8</fee-factor>
        <fee-schedule>36</fee-schedule>
        <fee-sub-amount>45</fee-sub-amount>
        </fee>
    This will become:
      a fee-factor of 1 (= quantity), a fee-reduction-factor of 0.8, a fee-reduction-amount of 0 (since the reduction is a percentage)
      and a fee-schedule of 36 (=1 * 0.8 * 45 - 0)
      <fee index="29" topay="yes">
        <type-of-fee>standard</type-of-fee>
        <fee-factor>1</fee-factor>
        <fee-schedule>36</fee-schedule>
        <fee-sub-amount>45</fee-sub-amount>
        <fee-reduction-factor>0.8</fee-reduction-factor>
        <fee-reduction-amount>0</fee-reduction-amount>
        </fee>
      If <fee-reduction-amount>0</fee-reduction-amount> is omitted, as it is optional, then it is asumed to be 0

    For fee 29, when a reduction of 10 EUR is applied and the fee normally is 45, resulting in
      a fee-factor of 0.777777 and a fee-schedule of 36 (=0.777777 * 45)
      <fee index="29" topay="yes">
        <type-of-fee>standard</type-of-fee>
        <fee-factor>0.777777</fee-factor>
        <fee-schedule>33</fee-schedule>
        <fee-sub-amount>45</fee-sub-amount>
        </fee>
    This will become:
      a fee-factor of 1 (= quantity), a fee-reduction-factor of 1 (since the reduction is an amount), a fee-reduction-amount of 10 (since the reduction is a percentage)
      and a fee-schedule of 36 (=1 * 1 * 45 - 10)
      <fee index="29" topay="yes">
        <type-of-fee>standard</type-of-fee>
        <fee-factor>1</fee-factor>
        <fee-schedule>35</fee-schedule>
        <fee-sub-amount>45</fee-sub-amount>
        <fee-reduction-factor>1</fee-reduction-factor>
        <fee-reduction-amount>10</fee-reduction-amount>
        </fee>
      If <fee-reduction-reduction>1</fee-reduction-reduction> is omitted, as it is optional, then it is asumed to be 1
    -->

    <!ELEMENT other-fee (fee)*>
    <!ELEMENT additional-fee (fee)*>
    <!ELEMENT fee-calc-info (search-region, IPEA, IPER)>


    <!ELEMENT search-region   EMPTY  >
    <!ATTLIST search-region
        region (Other | EP)  "EP" >

    <!ELEMENT IPEA   EMPTY  >

    <!ATTLIST IPEA
        ipea (EP | other)  "EP" >

    <!ELEMENT IPER   EMPTY  >

    <!ATTLIST IPER
        iper-type (rational | detailed)   #REQUIRED  >


    <!ELEMENT fee-total-amount (#PCDATA)>

    <!ELEMENT ep-notes-to-EPO (author?, subject?, date, dtext)>
    <!ATTLIST ep-notes-to-EPO
        id ID #IMPLIED
        page CDATA #REQUIRED
        >
    <!ELEMENT author (#PCDATA)>
    <!ELEMENT subject (#PCDATA)>

    <!ELEMENT doc-page EMPTY>
    <!ATTLIST doc-page
        id ID #IMPLIED
        he NMTOKEN #REQUIRED
        wi NMTOKEN #REQUIRED
        type (jpg | pdf | tif) #REQUIRED
        alt CDATA #IMPLIED
        pp CDATA #IMPLIED
        ppf CDATA #IMPLIED
        ppl CDATA #IMPLIED
        file CDATA #REQUIRED
        color (color | bw) #IMPLIED
        >