<!-- XML DTD para representar el documento COPARNT02 de UN/EDIFACT -->
<!-- ROOT -->
<!ELEMENT COPARNT02 (COPARNT02.HEADER, COPARNT02.GROUP1*, COPARNT02.GROUP2*, COPARNT02.GROUP3*, COPARNT02.GROUP9*)>
<!-- CABECERA -->
<!ELEMENT COPARNT02.HEADER (anxs_interchange.header, anxs_message.header, trsd_beginning.of.message, trcd_date.time.period, trsd_free.text*)>
<!ELEMENT COPARNT02.GROUP1 (trcd_reference, trcd_date.time.period?)>
<!ELEMENT COPARNT02.GROUP2 (trsd_details.of.transport, trcd_location.identification+, trcd_date.time.period?)>
<!ELEMENT COPARNT02.GROUP3 (trsd_name.and.address)>
<!-- EQUIPAMIENTOS -->
<!ELEMENT COPARNT02.GROUP9 (trsd_equipment.details, trcd_reference?, trsd_number.of.units?)>
<!-- SEGMENTOS -->

<!-- Segment: UNB Interchange Header -->
<!ELEMENT anxs_interchange.header (anxe_sender.identification, anxe_recipient.identification)>
<!ELEMENT anxe_sender.identification (#PCDATA)>
<!ELEMENT anxe_recipient.identification (#PCDATA)>

<!-- Segment: UNH Message Header -->
<!ELEMENT anxs_message.header (anxe_message.reference.number, anxe_message.type, anxe_message.version.number)>
<!ELEMENT anxe_message.reference.number (#PCDATA)>
<!ELEMENT anxe_message.type (#PCDATA)>
<!ELEMENT anxe_message.version.number (#PCDATA)>

<!-- Segment: BGM BEGINNING OF MESSAGE -->
<!ELEMENT trsd_beginning.of.message (tred_document.message.name.coded, tred_document.message.number, tred_message.function.coded)>
<!ELEMENT tred_document.message.name.coded (#PCDATA)>
<!ELEMENT tred_document.message.number (#PCDATA)>
<!ELEMENT tred_message.function.coded (#PCDATA)>

<!-- Segment: DTM DATE/TIME/PERIOD -->
<!ELEMENT trcd_date.time.period (tred_date.time.period.qualifier, tred_date.time.period)>
<!ELEMENT tred_date.time.period.qualifier (#PCDATA)>
<!ELEMENT tred_date.time.period (#PCDATA)>

<!-- Segment: FTX FREE TEXT -->
<!ELEMENT trsd_free.text (tred_text.subject.qualifier, trcd_text.literal?)>
<!ELEMENT tred_text.subject.qualifier (#PCDATA)>
<!ELEMENT trcd_text.literal (tred_free.text+)>
<!ELEMENT tred_free.text (#PCDATA)>

<!-- Segment: RFF REFERENCE -->
<!ELEMENT trcd_reference (tred_reference.qualifier, tred_reference.number)>
<!ELEMENT tred_reference.qualifier (#PCDATA)>
<!ELEMENT tred_reference.number (#PCDATA)>
<!--ELEMENT tred_line.number (#PCDATA)-->
<!--ELEMENT tred_reference.version.number (#PCDATA)-->

<!-- Segment: TDT DETAILS OF TRANSPORT -->
<!ELEMENT trsd_details.of.transport (tred_transport.stage.qualifier, tred_conveyance.reference.number?, tred_mode.of.transport.coded?, trcd_carrier?, trcd_transport.identification?)>
<!ELEMENT trcd_carrier (tred_carrier.identification?, tred_carrier.name)>
<!-- Composite: C222 TRANSPORT IDENTIFICATION -->
<!ELEMENT trcd_transport.identification (tred_id.of.the.means.of.transport?, tred_id.of.means.of.transport.identification, tred_nationality.of.means.of.transport.coded?)>
<!ELEMENT tred_transport.stage.qualifier (#PCDATA)>
<!ELEMENT tred_conveyance.reference.number (#PCDATA)>
<!ELEMENT tred_mode.of.transport.coded (#PCDATA)>
<!ELEMENT tred_carrier.identification (#PCDATA)>
<!ELEMENT tred_carrier.name (#PCDATA)>
<!ELEMENT tred_id.of.the.means.of.transport (#PCDATA)>
<!ELEMENT tred_id.of.means.of.transport.identification (#PCDATA)>
<!ELEMENT tred_nationality.of.means.of.transport.coded (#PCDATA)>

<!-- Segment LOC LOCATION IDENTIFICATION -->
<!ELEMENT trcd_location.identification (tred_place.location.qualifier,tred_place.location.identification)>
<!ELEMENT tred_place.location.qualifier (#PCDATA)>
<!ELEMENT tred_place.location.identification (#PCDATA)>

<!-- Composite: NAD NAME AND ADD-->
<!ELEMENT trsd_name.and.address (tred_party.qualifier, tred_party.id.identification, trcd_name.and.address?, trcd_street?, tred_city.name?, tred_country.coded?)>
<!ELEMENT tred_party.qualifier (#PCDATA)>
<!ELEMENT tred_party.id.identification (#PCDATA)>
<!ELEMENT trcd_name.and.address (tred_name.and.address.line+)>
<!ELEMENT tred_name.and.address.line (#PCDATA)>
<!ELEMENT trcd_street (tred_street.and.number.p.o.box+)>
<!ELEMENT tred_street.and.number.p.o.box (#PCDATA)>
<!ELEMENT tred_city.name (#PCDATA)>
<!ELEMENT tred_country.coded (#PCDATA)>

<!-- Segment: EQD EQUIPMENT DETAILS -->
<!ELEMENT trsd_equipment.details (tred_equipment.qualifier, tred_equipment.identification.number?, tred_equipment.size.and.type.identification?, tred_equipment.supplier.coded?, tred_equipment.full.or.empty.indicator.coded)>
<!ELEMENT tred_equipment.qualifier (#PCDATA)>
<!ELEMENT tred_equipment.identification.number (#PCDATA)>
<!ELEMENT tred_equipment.size.and.type.identification (#PCDATA)>
<!ELEMENT tred_equipment.supplier.coded (#PCDATA)>
<!ELEMENT tred_equipment.full.or.empty.indicator.coded (#PCDATA)>

<!--EQN-->
<!ELEMENT trsd_number.of.units (trcd_number.of.unit.details)>
<!ELEMENT trcd_number.of.unit.details (#PCDATA)>

