Cover Pages Logo SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic

TXML Specification (DTD)


TXML Specification
Unofficial version
See: Tracker 2001 TXML Specification Version 2.0, pages 19ff.



<?xml version="1.0" encoding="UTF-8"?>
<!ENTITY txml.version "1.0">
<!ELEMENT TXML ((Person | Organization | ProductType | Case |
ControlList | Document)*)>
<!ATTLIST TXML version CDATA "&txml.version;">
<!-- Person, Organization, ProductType and Document have OIDs that can
be> referred -->
<!-- to when it is used more than once in a single TXML file. The first time
the -->
<!-- object appears in the TXML file, provide all applicable info. The next
time -->
<!-- you need to use the object, you can provide just the OID.
-->

<!-- Area -->

<!-- For more information on these units of measure codes, which are ISO
standard, -->
<!-- refer to <http://www.unece.org/trade/facil/tfc_uom.htm> -->
<!ELEMENT Area (#PCDATA)>
<!ATTLIST Area UNIT_OF_MEASURE (a | acre | cm2 | daa | dm2 | ft2 | ha
| in2 |
km2 | m2 | mile2 | mm2 | yd2) #REQUIRED>

<!-- Case -->

<!ELEMENT Case (ID, Status, License?, ReceivedDate?,
ApplicationDate?,ApplicationNumber?,Applicant?, Party*, Item*, TotalCost?,
TotalWeight?,Position*, Decision?, Condition?, Owner?,
EndUseSummary?,Document*, Comment*)>
<!ATTLIST Case TYPE (UNDEFINED | DUAL_USE | MUNITIONS |
NUCLEAR) #REQUIRED>
<!ATTLIST Case ACTIVITY_TYPE (IMPORT | EXPORT | DEEMED |
PROJECT | REEXPORT |
TRANSIT | GENERAL) #REQUIRED>


<!ELEMENT ReceivedDate (#PCDATA)> <!-- YYYY-MM-DD -->
<!ELEMENT ApplicationDate (#PCDATA)> <!-- YYYY-MM-DD -->
<!ELEMENT ApplicationNumber (#PCDATA)>
<!ELEMENT Applicant (Party)>
<!ELEMENT TotalCost (Money)>
<!ELEMENT TotalWeight (Mass)>
<!ELEMENT Owner (#PCDATA)>
<!ELEMENT EndUseSummary (#PCDATA)>

<!-- Classification -->

<!ELEMENT Classification (ECN, Rationale)>
<!ATTLIST Classification REGIME (UNDEFINED | AG | CWC | NSG |
MTCR | WA | EU |
ML) #REQUIRED>
<!ELEMENT ECN (#PCDATA)>
<!ELEMENT Rationale (#PCDATA)>


<!-- Comment -->

<!ELEMENT Comment (Author, Date, Text)>
<!ATTLIST Comment TYPE (TECHNICAL | EVALUATION | NOTE)
#REQUIRED>

<!-- Condition -->

<!ELEMENT Condition (Setter, Agency, Date, Comments)>
<!ATTLIST Condition TYPE (UNDEFINED | ACTIVATE | DEACTIVATE |
REMAND | REVOKE
| WITHDRAW) #REQUIRED>
<!ELEMENT Setter (#PCDATA)>

<!-- Contact Location -->

<!ELEMENT ContactLocation ((StreetAddress, City, State, PostalCode,
Country)?,
PhoneNumber*, FaxNumber*, Email*, Url*)>
<!ATTLIST ContactLocation TYPE (UNDEFINED | BILLING_LOCATION |
MAILING_LOCATION | RESIDENCE |
SHIPPING_LOCATION | WORKPLACE) #IMPLIED>
<!ELEMENT StreetAddress (#PCDATA)>
<!ELEMENT State (#PCDATA)>
<!ELEMENT City (#PCDATA)>
<!ELEMENT Country (#PCDATA)>
<!ELEMENT PostalCode (#PCDATA)>
<!ELEMENT PhoneNumber (#PCDATA)>
<!ELEMENT FaxNumber (#PCDATA)>
<!ELEMENT Email (#PCDATA)>
<!ELEMENT Url (#PCDATA)>

<!-- Control List -->

<!ELEMENT ControlList (#PCDATA)>



<!-- Decision -->

<!ELEMENT Decision (Maker, Agency, Date, Comments)>
<!ATTLIST Decision TYPE (UNDEFINED | APPROVE | DISAPPROVE |
APPROVE_WITH_CONDITIONS) #REQUIRED>

<!-- Distance -->
<!-- For more information on these units of measure codes, which are ISO
standard, -->
<!-- refer to <http://www.unece.org/trade/facil/tfc_uom.htm> -->
<!ELEMENT Distance (#PCDATA)>
<!ATTLIST Distance UNIT_OF_MEASURE (A | AU | ch | cm | dam | dm |
fathom | fm
|f
t | hm | in | km | m | mile | mm | n_mile |
nm | pc | pm | um | yd) #REQUIRED>


<!-- Document -->

<!ELEMENT Document ((Name, Description?, Author?, CreationDate?,
LastModifiedDate?)?)>
<!ATTLIST Document OID CDATA #REQUIRED>
<!ATTLIST Document SRC CDATA #IMPLIED> <!-- The URL where data is
contained
-->
<!ATTLIST Document MIME_TYPE CDATA #IMPLIED>
<!ELEMENT CreationDate (#PCDATA)>
<!ELEMENT LastModifiedDate (#PCDATA)>


<!-- Item -->

<!ELEMENT Item (ProductType, SerialNumber, Quantity?, UnitCost?,
EndUse*, Document*, Comment*)>
<!-- Parties in an Item may have any role except APPLICANT -->
<!ELEMENT SerialNumber (#PCDATA)>
<!ELEMENT Quantity (Area | Distance | Mass | SalesUnit | Time |
Volume)>
<!ELEMENT UnitCost (Money)>
<!ELEMENT EndUse (#PCDATA)>

<!-- License -->

<!ELEMENT License (LicenseNumber, IssueDate?, ExpirationDate?)>
<!ELEMENT LicenseNumber (#PCDATA)>
<!ELEMENT IssueDate (#PCDATA)> <!-- YYYY-MM-DD -->
<!ELEMENT ExpirationDate (#PCDATA)> <!-- YYYY-MM-DD -->

<!-- Mass -->

<!-- For more information on these units of measure codes, which are ISO
standard, -->
<!-- refer to <http://www.unece.org/trade/facil/tfc_uom.htm> -->
<!ELEMENT Mass (#PCDATA)>
<!ATTLIST Mass UNIT_OF_MEASURE (cg | dag | dg | dt | g | hg | kg | kt
| lb |
Mg | ug | mg | oz | t) #REQUIRED>

<!-- Money -->


<!-- For more information on these currency codes, which are ISO standard, --
><
!-- refer to <http://www.unece.org/cefact/rec/cocucod.htm> -->
<!ELEMENT Money (#PCDATA)>
<!ATTLIST Money CURRENCY (AED | AFA | ALL | AMD | ANG | AON
| ARP | ATS | AUD
|
AWF | AZM | BAK | BBD | BDT | BEF | BGL | BHD | BIF |
BMD | BND | BOB | BRL | BSD | BTR | BWP | BYR | BZD |
CAD | CDF | CHF | CLP | CNY | COP | CRC | CZK | CUP |
CVE | CYP | DEM | DJF | DKK | DOP | DZD | ECS | EEK |
EGP | ERN | ESP | ETB | EUR | FIM | FJD | FKP | FRF |
GBP | GEL | GHC | GIP | GMD | GNF | GRD | GTQ | GYD |
HKD | HNL | HRK | HTG | HUF | IDR | IEP | ILS | INR |
IQD | IRR | ISK | ITL | JMD | JOD | JPY | KES | KGS |
KHR | KMF | KPW | KRW | KWD | KYD | KZT | LAK | LBP |
LKR | LRD | LSL | LTL | LUF | LVL | LYD | MAD | MDL |
MGF | MKD | MMK | MNT | MOP | MRO | MTL | MUR | MVR |
MWK | MXP | MYR | MZM | NAD | NGN | NIO | NLG | NOK |
NPR | NZD | OMR | PAB | PEN | PGK | PHP | PKR | PLZ |
PTE | PYG | QAR | ROL | RUR | RWF | SAR | SBD | SBL |
SCR | SDD | SEK | SGD | SHP | SIT | SKK | SLL | SOS |
SRG | STD | SVC | SYP | SZL | THB | TJR | TMM | TND |
TOP | TRL | TTD | TWD | TZS | UAH | UGX | USD | UYU |
UZS | VEB | VND | VUV | WST | XAF | XAG | XAU | XCD |
XDR | XOF | XPD | XPF | XPT | YER | YUN | ZAR | ZMK |
ZWD) #REQUIRED>

<!-- Organization -->

<!ELEMENT Organization ((ID, Name, RegistrationID?, ContactLocation*,
WatchReport*,
Document*, Comment*, AffiliatedWith?, BoardMembers?,
BusinessPartners?, Clients?, Customers?, DoesBusinessWith?,
Employees?, Members?, SeniorExecutives?, Shareholders?,
SiblingOrganizations?, SubOrganizations?, Suppliers?,
Workers?, WorksWith?)?)>

<!ATTLIST Organization OID CDATA #REQUIRED>
<!ATTLIST Organization TYPE (COMMERCIAL | EDUCATIONAL |
INTERNATIONAL |
LAWENFORCEMENT | LEGALGOVERNMENT | MILITARY |
NATIONAL | NONPROFIT | POLITICAL |
PROFESSIONAL | RELIGIOUS) #IMPLIED>
<!ELEMENT BoardMembers (Person+)>
<!ELEMENT Members ((Person | Organization)+)>
<!ELEMENT SeniorExecutives (Person+)>
<!ELEMENT Shareholders ((Person | Organization)+)>
<!ELEMENT SiblingOrganizations (Organization+)>
<!ELEMENT SubOrganizations (Organization+)>
<!ELEMENT Suppliers ((Person | Organization)+)>

<!-- Party -->

<!ELEMENT Party (((Person | Organization), CaseLocation?, Contact?,
Document*, Comment*)?)>
<!ATTLIST Party OID CDATA #REQUIRED>
<!ATTLIST Party ROLE (IMPORTER | EXPORTER | END_USER |
CONSIGNEE | THIRD_PARTY | SHIPPER) #IMPLIED>
<!ELEMENT CaseLocation (ContactLocation)>
<!ELEMENT Contact (Person)>

<!-- Person -->

<!ELEMENT Person ((ID, FirstName?, MiddleName?, LastName,
RegistrationID?,
ContactLocation*, WatchReport*, Document*, Comment*,
AffiliatedWith?, BusinessPartners?, Clients?, Customers?,
DoesBusinessWith?, Employees?, Workers?, WorksWith?)?)>
<!ATTLIST Person OID CDATA #REQUIRED>
<!ELEMENT FirstName (#PCDATA)>
<!ELEMENT MiddleName (#PCDATA)>
<!ELEMENT LastName (#PCDATA)>

<!-- Position -->

<!ELEMENT Position (Maker, Agency, Date, Comments)>

<!ATTLIST Position TYPE (UNDEFINED | APPROVED | DENIED |
APPROVED_WITH_CONDITIONS) #REQUIRED>

<!-- ProductType -->

<!ELEMENT ProductType ((ID, Name?, Category?, Description?, Make?,
Model?,
ManufacturerProductNumber?,
Manufacturers?, Classification*, Document*, Comment*)?)>
<!ATTLIST ProductType OID CDATA #REQUIRED>
<!ELEMENT Category (#PCDATA)>
<!ELEMENT Make (#PCDATA)>
<!ELEMENT Model (#PCDATA)>
<!ELEMENT ManufacturerProductNumber (#PCDATA)>
<!ELEMENT Manufacturers (Organization+)>

<!-- SalesUnit -->

<!-- For more information on these units of measure codes, which are ISO
standard, -->
<!-- refer to <http://www.unece.org/trade/facil/tfc_uom.htm> -->
<!ELEMENT SalesUnit (#PCDATA)>
<!ATTLIST SalesUnit UNIT_OF_MEASURE (BOXES | EACH | KITS |
PACKS | PIECES |
ROLLS |
SETS | UNITS) #REQUIRED>

<!-- Status -->

<!ELEMENT Status (StatusHistory*)>
<!ATTLIST Status TYPE (CREATED | ACTIVATED | ESCALATED |
DECIDED) #REQUIRED>

<!-- StatusHistory -->

<!ELEMENT StatusHistory (Date, Status)>

<!-- Time -->

<!-- For more information on these units of measure codes, which are ISO
standard, -->
<!-- refer to <http://www.unece.org/trade/facil/tfc_uom.htm> -->
<!ELEMENT Time (#PCDATA)>
<!ATTLIST Time UNIT_OF_MEASURE (d | h | ks | min | ms | ms | s | us)
#REQUIRED>

<!-- Volume -->

<!-- For more information on these units of measure codes, which are ISO
standard, -->
<!-- refer to <http://www.unece.org/trade/facil/tfc_uom.htm> -->
<!ELEMENT Volume (#PCDATA)>
<!ATTLIST Volume UNIT_OF_MEASURE (cl | cm3 | dal | dl | dm3 | ft3 |
hl | in3 |
kl | l | Ml | ml | m3 | mm3 | ul | yd3) #REQUIRED>

<!-- WatchReport -->

<!ELEMENT WatchReport (Reason+, Description)>
<!ATTLIST WatchReport DISPOSITION (UNDEFINED | ON_WATCH |
OFF_WATCH)
#REQUIRED>
<!ATTLIST WatchReport SOURCE (UNDEFINED | INTERNET |
NEWS_MEDIA |
OTHER_AGENCIES |
PRIVATE_SECTOR) #REQUIRED>
<!ATTLIST WatchReport RISK (UNDEFINED | EXTREME | HIGH |
MEDIUM | LOW | NONE)
#REQUIRED>
<!ELEMENT Reason EMPTY>
<!ATTLIST Reason TYPE (APARTHEID_SUPPORTING_PARTY |
BANKRUPT_INSOLVENT_OUT_OF_BUSINESS |
CHEMICAL_BIOLOGICAL_WARFARE_CONCERN |
CONTROLLED_IN_FACT_FIRM |
CUSTOMS |
DENIED_PARTY |
DESIGNATED_NATIONAL |
DTC_DEBARRED_PARTY |
ECONOMIC_DEFENSE_LIST |
ENFORCEMENT_CONCERN_INTEREST |
ENTITIES_LIST |
INTERNATIONAL_DRUG_TRAFFICKING_CONCERN |
INTERNATIONAL_TERRORIST_SUPPORTING_ORGANIZATION |
MISSILE_TECH_CONTROL_REGIME |
NUCLEAR_PROLIFERATION |
PAST_EXPORT_CONTROL_SANCTION |
PRC_OWNED_CONTROLLED |
PRE_LICENSE_CHECK |
ROUTINE_INVESTIGATION_OBSERVATION |
SDI_TECHNOLOGY |
SOUTH_AFRICAN_FOREIGN_INVESTMENT |
SOVIET_BLOC_TRADE_BUSINESS_REPRESENTATIVE |
SUBJECT_OF_EPCI_INFORMED_LETTER |
SUBJECT_OF_MULTILATERAL_CONTROL_GROUP_DENIAL |
SUBJECT_OF_AN_NDAA_OBJECTION |
TARGETED_FIRM |
UNFAVORABLE_POST_SHIPMENT_CHECK |
UNFAVORABLE_PRE_LICENSE_CHECK) #REQUIRED>

<!-- Common Elements -->

<!ELEMENT AffiliatedWith ((Person | Organization)+)>
<!ELEMENT Agency (#PCDATA)>
<!ELEMENT Author (#PCDATA)>
<!ELEMENT BusinessPartners ((Person | Organization)+)>
<!ELEMENT Clients ((Person | Organization)+)>
<!ELEMENT Comments (#PCDATA)>
<!ELEMENT Customers ((Person | Organization)+)>
<!ELEMENT Date (#PCDATA)>
<!ELEMENT Description (#PCDATA)>
<!ELEMENT DoesBusinessWith ((Person | Organization)+)>
<!ELEMENT Employees ((Person | Organization)+)>
<!ELEMENT ID (#PCDATA)>
<!ELEMENT Name (#PCDATA)>
<!ELEMENT Maker (#PCDATA)>
<!ELEMENT RegistrationID (#PCDATA)>
<!ELEMENT Text (#PCDATA)>
<!ELEMENT Workers ((Person | Organization)+)>
<!ELEMENT WorksWith ((Person | Organization)+)>

Prepared by Robin Cover for The XML Cover Pages archive. See Tracker XML (TXML).


Globe Image

Document URL: http://xml.coverpages.org/TrackerXML-DTD.html