<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by maribel (cantinflo) -->
<!--DTD INSEMB (IFTMCSP B1) Javier Sabino -->
<!ELEMENT IFTMCSP (IFTMCSP.HEADER, IFTMCSP.GROUP3*, IFTMCSP.GROUP6?, IFTMCSP.GROUP8, IFTMCSP.GROUP11*, IFTMCSP.GROUP18*, IFTMCSP.GROUP35*)>
<!ELEMENT IFTMCSP.HEADER (anxs_interchange.header, anxs_message.header, trsd_beginning.of.message, trsd_contact.information?, trcd_communication.contact?, trcd_date.time.period, trcd_transport.service.requirements?, trsd_efree.text*)>
<!ELEMENT IFTMCSP.GROUP3 (trcd_reference?, trcd_date.time.period*)>
<!ELEMENT IFTMCSP.GROUP6 (trsd_charge.payment.instructions, trcd_location.identification?)>
<!ELEMENT IFTMCSP.GROUP8 (trsd_details.of.transport?, trcd_date.time.period?, IFTMCSP.GROUP9+, IFTMCSP.GROUP10?)>
<!ELEMENT IFTMCSP.GROUP11 (trsd_name.and.address.extend, IFTMCSP.GROUP12*)>
<!ELEMENT IFTMCSP.GROUP18 (trsd_goods.item.details, trsd_free.text*, IFTMCSP.GROUP20*, IFTMCSP.GROUP21*, IFTMCSP.GROUP22?, IFTMCSP.GROUP23*, IFTMCSP.GROUP24*, IFTMCSP.GROUP27*, IFTMCSP.GROUP30*)>
<!ELEMENT IFTMCSP.GROUP35 (trsd_equipment.details, trsd_number.of.units?, trsd_measurements?, trsd_seal.number*, IFTMCSP.GROUP37?, IFTMCSP.GROUP40?, IFTMCSP.GROUP37?, IFTMCSP.GROUP40?)>
<!ELEMENT IFTMCSP.GROUP37 (trsd_name.and.address, trcd_date.time.period?)>
<!ELEMENT IFTMCSP.GROUP40 (trsd_contact.information, trcd_communication.contact)>
<!--UNB-->
<!ELEMENT anxs_interchange.header (anxe_syntax.identifier, anxe_syntax.version.number, anxe_sender.identification, anxe_recipient.identification, anxe.date, anxe.time, anxe_application.reference)>
<!ELEMENT anxe_syntax.identifier (#PCDATA)>
<!ELEMENT anxe_syntax.version.number (#PCDATA)>
<!ELEMENT anxe_sender.identification (#PCDATA)>
<!ELEMENT anxe_recipient.identification (#PCDATA)>
<!ELEMENT anxe.date (#PCDATA)>
<!ELEMENT anxe.time (#PCDATA)>
<!ELEMENT anxe_application.reference (#PCDATA)>
<!--UNH-->
<!ELEMENT anxs_message.header (anxe_message.reference.number, anxe_message.identifier, anxe_message.version.number, anxe_message.release.number, anxe_controlling.agency, anxe_association.assigned.code)>
<!ELEMENT anxe_message.reference.number (#PCDATA)>
<!ELEMENT anxe_message.identifier (#PCDATA)>
<!ELEMENT anxe_message.version.number (#PCDATA)>
<!ELEMENT anxe_message.release.number (#PCDATA)>
<!ELEMENT anxe_controlling.agency (#PCDATA)>
<!ELEMENT anxe_association.assigned.code (#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)>
<!--CTA-->
<!ELEMENT trsd_contact.information (tred_contact.function.coded, tred_department.or.employee.identification?, tred_department.or.employee?)>
<!ELEMENT tred_contact.function.coded (#PCDATA)>
<!ELEMENT tred_department.or.employee.identification (#PCDATA)>
<!ELEMENT tred_department.or.employee (#PCDATA)>
<!--COM-->
<!ELEMENT trcd_communication.contact (tred_communication.number?, tred_communication.channel.qualifier?)>
<!ELEMENT tred_communication.number (#PCDATA)>
<!ELEMENT tred_communication.channel.qualifier (#PCDATA)>
<!--DTM-->
<!-- Segment: DTM DATE/TIME/PERIOD -->
<!ELEMENT trcd_date.time.period (tred_date.time.period.qualifier, tred_date.time.period, tred_date.time.period.format.qualifier)>
<!ELEMENT tred_date.time.period.qualifier (#PCDATA)>
<!ELEMENT tred_date.time.period (#PCDATA)>
<!ELEMENT tred_date.time.period.format.qualifier (#PCDATA)>
<!-- TSR: Transport service requirements -->
<!ELEMENT trcd_transport.service.requirements (tred_contract.carriage.condition.code, tred_service.requirement.code)>
<!ELEMENT tred_contract.carriage.condition.code (#PCDATA)>
<!ELEMENT tred_service.requirement.code (#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)>
<!--FTXE-->
<!ELEMENT trsd_efree.text (tred_text.subject.qualifier, tred_text.function.coded?, tred_free.text*)>
<!ELEMENT tred_text.function.coded (#PCDATA)>
<!--RFF-->
<!ELEMENT trcd_reference (tred_reference.qualifier, tred_reference.number)>
<!ELEMENT tred_reference.qualifier (#PCDATA)>
<!ELEMENT tred_reference.number (#PCDATA)>
<!--CPI-->
<!ELEMENT trsd_charge.payment.instructions (tred_transport.charges.method.of.payment.coded)>
<!ELEMENT tred_transport.charges.method.of.payment.coded (#PCDATA)>
<!--LOC  MODIFICADO MARIBEL-->
<!ELEMENT trcd_location.identification (tred_place.location.qualifier, tred_place.location.identification?, tred_place.location?)>
<!ELEMENT tred_place.location.qualifier (#PCDATA)>
<!ELEMENT tred_place.location (#PCDATA)>
<!ELEMENT tred_place.location.identification (#PCDATA)>
<!--TDT-->
<!ELEMENT trsd_details.of.transport (tred_transport.stage.qualifier, tred_conveyance.reference.number?, tred_mode.of.transport.coded, tred_id.of.the.means.of.transport?, tred_code.list.qualifier?, tred_code.list.responsible.agency.coded?, 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_id.of.the.means.of.transport (#PCDATA)>
<!ELEMENT tred_code.list.qualifier (#PCDATA)>
<!ELEMENT tred_code.list.responsible.agency.coded (#PCDATA)>
<!ELEMENT tred_id.of.means.of.transport.identification (#PCDATA)>
<!ELEMENT tred_nationality.of.means.of.transport.coded (#PCDATA)>
<!--Sub grupo del grupo 8-->
<!ELEMENT IFTMCSP.GROUP9 (trsd_place.locatione.identification, trcd_date.time.period*)>
<!--LOCE (loc extendido para el grupo 9. no aparece en el dtd global)-->
<!ELEMENT trsd_place.locatione.identification (tred_place.locatione.qualifier, tred_place.locatione.identification, tred_code.list.qualifier, tred_code.list.responsible.agency.coded, tred_place.location?, tred_related.place.location.one?)>
<!ELEMENT tred_place.locatione.qualifier (#PCDATA)>
<!ELEMENT tred_place.locatione.identification (#PCDATA)>
<!ELEMENT tred_related.place.location.one (#PCDATA)>
<!--Sub grupo del grupo 8-->
<!ELEMENT IFTMCSP.GROUP10 (trcd_reference)>
<!--NAD Iftmcsp-->
<!ELEMENT trsd_name.and.address.extend (tred_name.type.coded, tred_name.and.address.line+, tred_party.name*)>
<!ELEMENT tred_name.type.coded (#PCDATA)>
<!ELEMENT tred_name.and.address.line (#PCDATA)>
<!ELEMENT tred_party.name (#PCDATA)>
<!--Sub grupo del grupo 11-->
<!ELEMENT IFTMCSP.GROUP12 (trsd_contact.information, trcd_communication.contact?)>
<!--GID-->
<!ELEMENT trsd_goods.item.details (tred_goods.item.number, tred_number.of.packages?, tred_type.of.packages.identification?)>
<!ELEMENT tred_goods.item.number (#PCDATA)>
<!ELEMENT tred_number.of.packages (#PCDATA)>
<!ELEMENT tred_type.of.packages.identification (#PCDATA)>
<!--Subgrupo del grupo 18-->
<!ELEMENT IFTMCSP.GROUP20 (trsd_measurements)>
<!--MEA-->
<!ELEMENT trsd_measurements (tred_measurement.attribute, tred_measurement.dimension.coded?, tred_measure.unit.qualifier?, tred_measurement.value?)>
<!ELEMENT tred_measurement.attribute (#PCDATA)>
<!ELEMENT tred_measurement.dimension.coded (#PCDATA)>
<!ELEMENT tred_measurement.value (#PCDATA)>
<!--Subgrupo del grupo 18-->
<!ELEMENT IFTMCSP.GROUP21 (trsd_dimensions, trsd_number.of.units?)>
<!--DIM-->
<!ELEMENT trsd_dimensions (tred_dimension.qualifier, tred_measure.unit.qualifier, tred_length.dimension, tred_width.dimension, tred_height.dimension)>
<!ELEMENT tred_dimension.qualifier (#PCDATA)>
<!ELEMENT tred_measure.unit.qualifier (#PCDATA)>
<!ELEMENT tred_length.dimension (#PCDATA)>
<!ELEMENT tred_width.dimension (#PCDATA)>
<!ELEMENT tred_height.dimension (#PCDATA)>
<!--EQN-->
<!ELEMENT trsd_number.of.units (trcd_number.of.unit.details)>
<!ELEMENT trcd_number.of.unit.details (#PCDATA)>
<!--Subgrupo del grupo 18-->
<!ELEMENT IFTMCSP.GROUP22 (trsd_reference)>
<!--RFF-->
<!ELEMENT trsd_reference (tred_reference.qualifier, tred_reference.number)>
<!--Subgrupo del grupo 18-->
<!ELEMENT IFTMCSP.GROUP23 (trsd_package.identification)>
<!--PCI-->
<!ELEMENT trsd_package.identification (tred_marking.instructions.coded, tred_shipping.marks1?, tred_shipping.marks2?, tred_shipping.marks3?, tred_shipping.marks4?, tred_shipping.marks5?, tred_shipping.marks6?, tred_shipping.marks7?, tred_shipping.marks8?, tred_shipping.marks9?, tred_shipping.marks10?)>
<!ELEMENT tred_marking.instructions.coded (#PCDATA)>
<!ELEMENT tred_shipping.marks1 (#PCDATA)>
<!ELEMENT tred_shipping.marks2 (#PCDATA)>
<!ELEMENT tred_shipping.marks3 (#PCDATA)>
<!ELEMENT tred_shipping.marks4 (#PCDATA)>
<!ELEMENT tred_shipping.marks5 (#PCDATA)>
<!ELEMENT tred_shipping.marks6 (#PCDATA)>
<!ELEMENT tred_shipping.marks7 (#PCDATA)>
<!ELEMENT tred_shipping.marks8 (#PCDATA)>
<!ELEMENT tred_shipping.marks9 (#PCDATA)>
<!ELEMENT tred_shipping.marks10 (#PCDATA)>
<!--Subgrupo del grupo 18-->
<!ELEMENT IFTMCSP.GROUP24 (trsd_document.message.details)>
<!--DOC-->
<!ELEMENT trsd_document.message.details (tred_reference.qualifier, tred_reference.number)>
<!--Subgrupo del grupo 18-->
<!ELEMENT IFTMCSP.GROUP27 (trsd_split.goods.placement)>
<!--SGP-->
<!ELEMENT trsd_split.goods.placement (trcd_equipment.identification, tred_number.of.packages?)>
<!ELEMENT trcd_equipment.identification (#PCDATA)>
<!--Subgrupo del grupo 18-->
<!ELEMENT IFTMCSP.GROUP30 (trsd_dangerous.goods, trsd_free.text+)>
<!--DGS-->
<!ELEMENT trsd_dangerous.goods (tred_dangerous.goods.regulations.coded, tred_hazard.code?, tred_undg.number, tred_dangerous.goods.flashpoint?, tred_packing.group.coded?, tred_ems.number?, tred_mfag?, tred_trem.card.number?)>
<!ELEMENT tred_hazard.code (tred_hazard.code.identification, tred_hazard.substance.item.page.number, tred_hazard.code.version.number?)>
<!ELEMENT tred_dangerous.goods.regulations.coded (#PCDATA)>
<!ELEMENT tred_hazard.code.identification (#PCDATA)>
<!ELEMENT tred_hazard.substance.item.page.number (#PCDATA)>
<!ELEMENT tred_hazard.code.version.number (#PCDATA)>
<!ELEMENT tred_undg.number (#PCDATA)>
<!ELEMENT tred_dangerous.goods.flashpoint (#PCDATA)>
<!ELEMENT tred_packing.group.coded (#PCDATA)>
<!ELEMENT tred_ems.number (#PCDATA)>
<!ELEMENT tred_mfag (#PCDATA)>
<!ELEMENT tred_trem.card.number (#PCDATA)>
<!--EQD-->
<!ELEMENT trsd_equipment.details (tred_equipment.qualifier?, tred_equipment.identification.number?, tred_equipment.size.and.type.identification?, tred_full.empty.indicator.coded?)>
<!ELEMENT tred_equipment.qualifier (#PCDATA)>
<!ELEMENT tred_equipment.identification.number (#PCDATA)>
<!ELEMENT tred_equipment.size.and.type.identification (#PCDATA)>
<!ELEMENT tred_full.empty.indicator.coded (#PCDATA)>
<!--SEL-->
<!ELEMENT trsd_seal.number (tred_seal.number)>
<!ELEMENT tred_seal.number (#PCDATA)>
<!-- Composite: NAD NAME AND ADD-->
<!ELEMENT trsd_name.and.address (tred_party.qualifier, tred_party.id.identification?, tred_name.and.address.line, tred_street.and.number.p.o.box?, tred_city.name?, tred_country.coded?)>
<!ELEMENT tred_party.qualifier (#PCDATA)>
<!ELEMENT tred_party.id.identification (#PCDATA)>
<!ELEMENT tred_street.and.number.p.o.box (#PCDATA)>
<!ELEMENT tred_city.name (#PCDATA)>
<!ELEMENT tred_country.coded (#PCDATA)>

