DTD文档
<!-- TradeCard Document Type Definition
Order
Version 3.00
Copyright TradeCard, Inc. 2006 --><!-- Parameter Entities -->
<!ENTITY % Order "header, count?, functionalAcknowledgementRequest?, orderDetail*">
<!ENTITY % Header "version, documentType, messageId?">
<!ENTITY % FunctionalAcknowledgementRequest "isIncludeOriginalMessage, isAcknowledgeSuccess?, isAcknowledgeFailure?">
<!ENTITY % OrderDetail "subMessageId?, messageFunctionCode?, subscriptionEvent?, redirectUrl?, validationErrorText*, poNumber, orderUid?, revisionNumber?, contractNumber?, orderFunctionCode?, debitBankAccountNumber?, changeDescription*, orderTerms?, orderParties, orderItem*, attachment*, totals?">
<!ENTITY % SubscriptionEvent "eventTypeCode, eventRoleCode, eventDate, eventDateTime">
<!ENTITY % OrderTerms "issueDate?, offerExpiryDate?, cancelAfterDate?, reference*, currencyCode?, paymentTerms?, incotermCode?, incotermLocationCode?, isPartialShipmentAllowed?, shipmentDestination*, finalDestination*, earliestDate?, latestDate?, isInspectionRequired?, shipmentMethodCode?, allowanceCharge*, orderVariance?, beneficiaryStatement?, beneficiaryStatementAcknowledgementCode?, additionalCondition*, additionalDocumentRequired*, isTransShipmentAllowed?, freightPaymentCode?, freightPaymentExplanation?, packageMarkDetail*, attachedNotes*">
<!ENTITY % Reference "type, value?">
<!ENTITY % PaymentTerms "paymentTenorDaysCode?, paymentTenorStartDateCode?, paymentTenorNotes?, paymentTenorBaseDate?">
<!ENTITY % NonMember "memberIdentification?, name?, longName?, contact?, address?, locationCode?, reference*">
<!ENTITY % MemberIdentification "memberRoleCode?, memberId?, identification*">
<!ENTITY % Identification "type, value">
<!ENTITY % OrganizationContact "name?, emailAddress?, phone?, fax?, department?, region?">
<!ENTITY % Address "addressLine1?, addressLine2?, city?, stateOrProvince?, postalCodeNumber?, countryCode?">
<!ENTITY % AllowanceCharge "allowanceChargeUid?, allowanceChargeNumber?, allowanceChargeIndicatorCode, reasonType?, reasonDescription?, calculatedAllowanceChargeValue?, allowanceChargeValue?, isFlatAmount?, quantity?, perUnit?, allowanceChargeHandlingCode?, allowanceChargePercentBasisCode?, taxRate?, reference*, notes?">
<!ENTITY % Variance "upperVariance?, lowerVariance?, varianceTypeCode">
<!ENTITY % AdditionalCondition "additionalConditionText, additionalConditionAcknowledgementCode?">
<!ENTITY % AdditionalDocumentRequired "documentName, additionalDocumentPartyCode?, referenceNumber?, notes?">
<!ENTITY % PackageMarkDetail "packageMark+">
<!ENTITY % PackageMark "NumberTypeCode, NumberFrom, NumberTo?, ?">
<!ENTITY % OrderParties "buyer, seller, inspectionCompany?, logisticsProvider?, buyersAgent?, sellersAgent?, carrier*, customsBroker?, consignee?, originOfGoods*, notifyParty*, additionalParty*">
<!ENTITY % Member "memberIdentification, name?, longName?, contact?, address?, locationCode?, reference*">
<!ENTITY % OrderItem "itemKey, itemTypeCode?, parentItemKey?, baseItem, itemPrice?, itemTax*, allowanceCharge*, originOfGoods?">
<!ENTITY % BaseItem "itemFunctionCode?, itemSequenceNumber?, buyerNumber?, sellerNumber?, shortDescription?, longDescription?, upcNumber?, skuNumber?, countryOfOriginCode?, customsClassification*, quotaCategory?, itemReference*, quantity?, unitOfMeasureCode?, packageInstruction?, destinationName?, destinationQuantity*, earliestDate?, latestDate?, isInspectionRequired?, shipmentMethodCode?, itemVariance?">
<!ENTITY % CustomsClassification "classificationNumber, countryCode?">
<!ENTITY % ItemReference "type, value?, displayCode?">
<!ENTITY % PackageInstruction "packInstructionReference?, packMethodCode?, quantityPerInnerPackage?, quantityPerOuterPackage?">
<!ENTITY % DestinationQuantity "finalDestinationName, quantity, unitOfMeasureCode?">
<!ENTITY % ItemPrice "pricePerUnit?, totalPrice?">
<!ENTITY % ItemTax "taxType?, description?, taxRate?">
<!ENTITY % Attachment "name, encodingCode?, mimeType?, content">
<!ENTITY % DocumentTotals "totalQuantity?, totalMerchandiseAmount?, allowanceChargeTotal?, totalTaxAmount?, totalDocumentAmount?">
<!ENTITY % AllowanceChargeTotal "totalAllowanceChargeAmount, allowanceChargeSubTotal*">
<!ENTITY % AllowanceChargeSubTotal "allowanceChargeIndicatorCode, totalAllowanceChargeAmount">

解决方案 »

  1.   

    [code=XML]
    <!-- Composite elements -->
    <!ELEMENT Order (%Order;)>
    <!ELEMENT header (%Header;)>
    <!ELEMENT functionalAcknowledgementRequest (%FunctionalAcknowledgementRequest;)>
    <!ELEMENT orderDetail (%OrderDetail;)>
    <!ELEMENT subscriptionEvent (%SubscriptionEvent;)>
    <!ELEMENT orderTerms (%OrderTerms;)>
    <!ELEMENT reference (%Reference;)>
    <!ELEMENT paymentTerms (%PaymentTerms;)>
    <!ELEMENT shipmentDestination (%NonMember;)>
    <!ELEMENT memberIdentification (%MemberIdentification;)>
    <!ELEMENT identification (%Identification;)>
    <!ELEMENT contact (%OrganizationContact;)>
    <!ELEMENT address (%Address;)>
    <!ELEMENT finalDestination (%NonMember;)>
    <!ELEMENT allowanceCharge (%AllowanceCharge;)>
    <!ELEMENT orderVariance (%Variance;)>
    <!ELEMENT additionalCondition (%AdditionalCondition;)>
    <!ELEMENT additionalDocumentRequired (%AdditionalDocumentRequired;)>
    <!ELEMENT packageMarkDetail (%PackageMarkDetail;)>
    <!ELEMENT packageMark (%PackageMark;)>
    <!ELEMENT orderParties (%OrderParties;)>
    <!ELEMENT buyer (%Member;)>
    <!ELEMENT seller (%Member;)>
    <!ELEMENT inspectionCompany (%Member;)>
    <!ELEMENT logisticsProvider (%Member;)>
    <!ELEMENT buyersAgent (%NonMember;)>
    <!ELEMENT sellersAgent (%NonMember;)>
    <!ELEMENT carrier (%NonMember;)>
    <!ELEMENT customsBroker (%NonMember;)>
    <!ELEMENT consignee (%NonMember;)>
    <!ELEMENT originOfGoods (%NonMember;)>
    <!ELEMENT notifyParty (%NonMember;)>
    <!ELEMENT additionalParty (%NonMember;)>
    <!ELEMENT orderItem (%OrderItem;)>
    <!ELEMENT baseItem (%BaseItem;)>
    <!ELEMENT customsClassification (%CustomsClassification;)>
    <!ELEMENT itemReference (%ItemReference;)>
    <!ELEMENT packageInstruction (%PackageInstruction;)>
    <!ELEMENT destinationQuantity (%DestinationQuantity;)>
    <!ELEMENT itemVariance (%Variance;)>
    <!ELEMENT itemPrice (%ItemPrice;)>
    <!ELEMENT itemTax (%ItemTax;)>
    <!ELEMENT attachment (%Attachment;)>
    <!ELEMENT totals (%DocumentTotals;)>
    <!ELEMENT allowanceChargeTotal (%AllowanceChargeTotal;)>
    <!ELEMENT allowanceChargeSubTotal (%AllowanceChargeSubTotal;)><!-- Simple elements -->
    <!ELEMENT additionalConditionAcknowledgementCode (#PCDATA)> <!--AdditionalConditionAcknowledgement-->
    <!ELEMENT additionalConditionText (#PCDATA)> <!--string-->
    <!ELEMENT additionalDocumentPartyCode (#PCDATA)> <!--AdditionalDocumentParty-->
    <!ELEMENT addressLine1 (#PCDATA)> <!--string-->
    <!ELEMENT addressLine2 (#PCDATA)> <!--string-->
    <!ELEMENT allowanceChargeHandlingCode (#PCDATA)> <!--AllowanceChargeHandling-->
    <!ELEMENT allowanceChargeIndicatorCode (#PCDATA)> <!--AllowanceChargeIndicator-->
    <!ELEMENT allowanceChargeNumber (#PCDATA)> <!--string-->
    <!ELEMENT allowanceChargePercentBasisCode (#PCDATA)> <!--AllowanceChargePercentBasis-->
    <!ELEMENT allowanceChargeUid (#PCDATA)> <!--long-->
    <!ELEMENT allowanceChargeValue (#PCDATA)> <!--decimal-->
    <!ELEMENT attachedNotes (#PCDATA)> <!--string-->
    <!ELEMENT beneficiaryStatement (#PCDATA)> <!--string-->
    <!ELEMENT beneficiaryStatementAcknowledgementCode (#PCDATA)> <!--AdditionalConditionAcknowledgement-->
    code]
      

  2.   

    <!ELEMENT buyerNumber (#PCDATA)> <!--string-->
    <!ELEMENT calculatedAllowanceChargeValue (#PCDATA)> <!--decimal-->
    <!ELEMENT cancelAfterDate (#PCDATA)> <!--date yyyymmdd-->
    <!ELEMENT changeDescription (#PCDATA)> <!--string-->
    <!ELEMENT city (#PCDATA)> <!--string-->
    <!ELEMENT classificationNumber (#PCDATA)> <!--string-->
    <!ELEMENT content (#PCDATA)> <!--string-->
    <!ELEMENT contractNumber (#PCDATA)> <!--string-->
    <!ELEMENT count (#PCDATA)> <!--int-->
    <!ELEMENT countryCode (#PCDATA)> <!--Country-->
    <!ELEMENT countryOfOriginCode (#PCDATA)> <!--Country-->
    <!ELEMENT currencyCode (#PCDATA)> <!--Currency-->
    <!ELEMENT debitBankAccountNumber (#PCDATA)> <!--string-->
    <!ELEMENT department (#PCDATA)> <!--string-->
    <!ELEMENT description (#PCDATA)> <!--string-->
    <!ELEMENT destinationName (#PCDATA)> <!--string-->
    <!ELEMENT displayCode (#PCDATA)> <!--Display-->
    <!ELEMENT documentName (#PCDATA)> <!--string-->
    <!ELEMENT documentType (#PCDATA)> <!--string-->
    <!ELEMENT earliestDate (#PCDATA)> <!--date yyyymmdd-->
    <!ELEMENT emailAddress (#PCDATA)> <!--string-->
    <!ELEMENT encodingCode (#PCDATA)> <!--Encoding-->
    <!ELEMENT eventDate (#PCDATA)> <!--date yyyymmdd-->
    <!ELEMENT eventDateTime (#PCDATA)> <!--datetime ISO 8601-->
    <!ELEMENT eventRoleCode (#PCDATA)> <!--EventRole-->
    <!ELEMENT eventTypeCode (#PCDATA)> <!--EventType-->
    <!ELEMENT fax (#PCDATA)> <!--string-->
    <!ELEMENT finalDestinationName (#PCDATA)> <!--string-->
    <!ELEMENT freightPaymentCode (#PCDATA)> <!--FreightPayment-->
    <!ELEMENT freightPaymentExplanation (#PCDATA)> <!--string-->
    <!ELEMENT incotermCode (#PCDATA)> <!--Incoterm-->
    <!ELEMENT incotermLocationCode (#PCDATA)> <!--Location-->
    <!ELEMENT isAcknowledgeFailure (#PCDATA)> <!--boolean-->
    <!ELEMENT isAcknowledgeSuccess (#PCDATA)> <!--boolean-->
    <!ELEMENT isFlatAmount (#PCDATA)> <!--boolean-->
    <!ELEMENT isIncludeOriginalMessage (#PCDATA)> <!--boolean-->
    <!ELEMENT isInspectionRequired (#PCDATA)> <!--boolean-->
    <!ELEMENT isPartialShipmentAllowed (#PCDATA)> <!--boolean-->
    <!ELEMENT isTransShipmentAllowed (#PCDATA)> <!--boolean-->
    <!ELEMENT issueDate (#PCDATA)> <!--date yyyymmdd-->
    <!ELEMENT itemFunctionCode (#PCDATA)> <!--ItemFunction-->
    <!ELEMENT itemKey (#PCDATA)> <!--string-->
    <!ELEMENT itemSequenceNumber (#PCDATA)> <!--string-->
    <!ELEMENT itemTypeCode (#PCDATA)> <!--ItemType-->
    <!ELEMENT latestDate (#PCDATA)> <!--date yyyymmdd-->
    <!ELEMENT locationCode (#PCDATA)> <!--Location-->
    <!ELEMENT longDescription (#PCDATA)> <!--string-->
    <!ELEMENT longName (#PCDATA)> <!--string-->
    <!ELEMENT lowerVariance (#PCDATA)> <!--decimal-->
    <!ELEMENT  (#PCDATA)> <!--string-->
    <!ELEMENT NumberFrom (#PCDATA)> <!--string-->
    <!ELEMENT NumberTo (#PCDATA)> <!--string-->
    <!ELEMENT NumberTypeCode (#PCDATA)> <!--MarkNumberType-->
    <!ELEMENT memberId (#PCDATA)> <!--long-->
    <!ELEMENT memberRoleCode (#PCDATA)> <!--MemberRole-->
    <!ELEMENT messageFunctionCode (#PCDATA)> <!--MessageFunction-->
    <!ELEMENT messageId (#PCDATA)> <!--string-->
    <!ELEMENT mimeType (#PCDATA)> <!--string-->
    <!ELEMENT name (#PCDATA)> <!--string-->
    <!ELEMENT notes (#PCDATA)> <!--string-->
    <!ELEMENT offerExpiryDate (#PCDATA)> <!--date yyyymmdd-->
    <!ELEMENT orderFunctionCode (#PCDATA)> <!--OrderFunction-->
    <!ELEMENT orderUid (#PCDATA)> <!--long-->
    <!ELEMENT packInstructionReference (#PCDATA)> <!--string-->
    <!ELEMENT packMethodCode (#PCDATA)> <!--PackMethod-->
    <!ELEMENT parentItemKey (#PCDATA)> <!--string-->
    <!ELEMENT paymentTenorBaseDate (#PCDATA)> <!--date yyyymmdd-->
    <!ELEMENT paymentTenorDaysCode (#PCDATA)> <!--PaymentTenorDays-->
    <!ELEMENT paymentTenorNotes (#PCDATA)> <!--string-->
    <!ELEMENT paymentTenorStartDateCode (#PCDATA)> <!--PaymentTenorStartDate-->
    <!ELEMENT perUnit (#PCDATA)> <!--decimal-->
    <!ELEMENT phone (#PCDATA)> <!--string-->
    <!ELEMENT poNumber (#PCDATA)> <!--string-->
    <!ELEMENT postalCodeNumber (#PCDATA)> <!--string-->
    <!ELEMENT pricePerUnit (#PCDATA)> <!--decimal-->
    <!ELEMENT quantity (#PCDATA)> <!--decimal-->
    <!ELEMENT quantityPerInnerPackage (#PCDATA)> <!--int-->
    <!ELEMENT quantityPerOuterPackage (#PCDATA)> <!--int-->
    <!ELEMENT quotaCategory (#PCDATA)> <!--string-->
    <!ELEMENT reasonDescription (#PCDATA)> <!--string-->
    <!ELEMENT reasonType (#PCDATA)> <!--string-->
    <!ELEMENT redirectUrl (#PCDATA)> <!--string-->
    <!ELEMENT referenceNumber (#PCDATA)> <!--string-->
    <!ELEMENT region (#PCDATA)> <!--string-->
    <!ELEMENT revisionNumber (#PCDATA)> <!--string-->
    <!ELEMENT sellerNumber (#PCDATA)> <!--string-->
    <!ELEMENT shipmentMethodCode (#PCDATA)> <!--ShipmentMethod-->
    <!ELEMENT shortDescription (#PCDATA)> <!--string-->
    <!ELEMENT skuNumber (#PCDATA)> <!--string-->
    <!ELEMENT stateOrProvince (#PCDATA)> <!--string-->
    <!ELEMENT subMessageId (#PCDATA)> <!--string-->
    <!ELEMENT taxRate (#PCDATA)> <!--decimal-->
    <!ELEMENT taxType (#PCDATA)> <!--string-->
    <!ELEMENT totalAllowanceChargeAmount (#PCDATA)> <!--decimal-->
    <!ELEMENT totalDocumentAmount (#PCDATA)> <!--decimal-->
    <!ELEMENT totalMerchandiseAmount (#PCDATA)> <!--decimal-->
    <!ELEMENT totalPrice (#PCDATA)> <!--decimal-->
    <!ELEMENT totalQuantity (#PCDATA)> <!--decimal-->
    <!ELEMENT totalTaxAmount (#PCDATA)> <!--decimal-->
    <!ELEMENT type (#PCDATA)> <!--string-->
    <!ELEMENT unitOfMeasureCode (#PCDATA)> <!--UnitOfMeasure-->
    <!ELEMENT upcNumber (#PCDATA)> <!--string-->
    <!ELEMENT upperVariance (#PCDATA)> <!--decimal-->
    <!ELEMENT validationErrorText (#PCDATA)> <!--string-->
    <!ELEMENT value (#PCDATA)> <!--string-->
    <!ELEMENT varianceTypeCode (#PCDATA)> <!--VarianceType-->
    <!ELEMENT version (#PCDATA)> <!--int-->
      

  3.   


    XML文档:
    <Order>
      <header>
        <version>300</version>
        <documentType>Order</documentType>
        <messageId>53455375</messageId>
      </header>
      <count>1</count>
      <orderDetail>
        <subMessageId>1</subMessageId>
        <subscriptionEvent>
          <eventTypeCode>ExportEvent</eventTypeCode>
          <eventRoleCode>MessageExporter</eventRoleCode>
          <eventDate>20081110</eventDate>
          <eventDateTime>20081110T10.03.41.937Z</eventDateTime>
        </subscriptionEvent>
        <poNumber>PO999</poNumber>
        <orderUid>186401139</orderUid>
        <orderFunctionCode>Create</orderFunctionCode>
        <orderTerms>
          <issueDate>20081104</issueDate>
          <cancelAfterDate>20090112</cancelAfterDate>
          <currencyCode>USD</currencyCode>
          <incotermCode>CIF</incotermCode>
          <incotermLocationCode>PHMNL</incotermLocationCode>
          <isPartialShipmentAllowed>false</isPartialShipmentAllowed>
          <shipmentDestination>
            <name>ABC INC.,</name>
            <address>
              <addressLine1>#99 LUCKY DRIVE, BUSINESS PARK,</addressLine1>
              <addressLine2>PH CITY,</addressLine2>
              <city>PAMPANGA</city>
              <countryCode>PH</countryCode>
            </address>
          </shipmentDestination>
          <shipmentMethodCode>S</shipmentMethodCode>
          <additionalCondition>
            <additionalConditionText>&#60;Long Text&#62;</additionalConditionText>
            <additionalConditionAcknowledgementCode>Seller</additionalConditionAcknowledgementCode>
          </additionalCondition>
          <isTransShipmentAllowed>true</isTransShipmentAllowed>
          <freightPaymentCode>CC</freightPaymentCode>
        </orderTerms>
        <orderParties>
          <buyer>
            <memberIdentification>
              <memberId>5717989018002525</memberId>
              <identification>
                <type>SmartShirt_Seller_ID</type>
                <value>SS</value>
              </identification>
            </memberIdentification>
            <name>XYZ Limited</name>
            <contact>
              <name>Purchasing Mgr</name>
              <department>PATTY CHAN</department>
              <region>BONTON</region>
            </contact>
            <address>
              <addressLine1>55 King Yip Street,</addressLine1>
              <addressLine2>Kwun Tong,</addressLine2>
              <city>Kowloon</city>
              <countryCode>HK</countryCode>
            </address>
          </buyer>
          <seller>
            <memberIdentification>
              <memberId>5717989018002149</memberId>
              <identification>
                <type>SmartShirts_Party_ID</type>
                <value>FCH</value>
              </identification>
            </memberIdentification>
            <name>Seller Co.</name>
            <address>
              <addressLine1>8F, 132, Sec. 2, Nanking E. Rd.</addressLine1>
              <city>Taipei</city>
              <stateOrProvince>Taiwan</stateOrProvince>
              <postalCodeNumber>104</postalCodeNumber>
              <countryCode>TW</countryCode>
            </address>
          </seller>
          <logisticsProvider>
            <memberIdentification>
              <memberId>5717989018002702</memberId>
            </memberIdentification>
            <name>CD Logistics</name>
            <address>
              <addressLine1>No. 28, Nan King E. Rd., Sec. 3</addressLine1>
              <addressLine2>9th floor</addressLine2>
              <city>Taipei</city>
              <postalCodeNumber>104</postalCodeNumber>
              <countryCode>TW</countryCode>
            </address>
          </logisticsProvider>
          <consignee>
            <name>ABC INC.,</name>
            <contact>
              <name>MARIVIC CALI-IMPORT DEPT.</name>
              <phone>63-45-599-2688</phone>
            </contact>
            <address>
              <addressLine1>#25 JACK NASSER DRIVE, PHILEXCEL BUSINESS PARK,</addressLine1>
              <addressLine2>MA. ROXAS HI-WAY, CSEZ, CLARKFIELD, ANGELES CITY,</addressLine2>
              <city>PAMPANGA</city>
              <countryCode>PH</countryCode>
            </address>
          </consignee>
          <originOfGoods>
            <name>Seller Co.</name>
            <address>
              <addressLine1>8F, 132, SEC. 2, NANKING E. RD.</addressLine1>
              <city>TAIPEI</city>
              <postalCodeNumber>104</postalCodeNumber>
              <countryCode>TW</countryCode>
            </address>
          </originOfGoods>
          <notifyParty>
            <name>K INC.,</name>
            <contact>
              <name>EMY GUZMAN</name>
              <phone>632-527-7566</phone>
            </contact>
            <address>
              <addressLine1>Rm. 8, JEFFERSON BUILDING,</addressLine1>
              <addressLine2>13th COR. ATLANTA STS. PORT AREA,</addressLine2>
              <city>MANILA,</city>
              <countryCode>PH</countryCode>
            </address>
          </notifyParty>
          <notifyParty>
            <name>ABC (PHILS.),Inc.,</name>
            <contact>
              <name>Marivic Cali</name>
              <phone>63-45-5992687-8</phone>
            </contact>
            <address>
              <addressLine1>#25 JACK NASSER DRIVE, PHILEXCEL BUSINESS PARK,</addressLine1>
              <addressLine2>MA. ROXAS HI-WAY, CSEZ, CLARKFIELD, ANGELES CITY,</addressLine2>
              <city>PAMPANGA</city>
              <countryCode>PH</countryCode>
            </address>
          </notifyParty>
        </orderParties>
        <orderItem>
          <itemKey>PO.L1</itemKey>
          <itemTypeCode>Main</itemTypeCode>
          <baseItem>
            <itemSequenceNumber>0001</itemSequenceNumber>
            <buyerNumber>ITEM001</buyerNumber>
            <countryOfOriginCode>TW</countryOfOriginCode>
            <quantity>100.000000</quantity>
            <unitOfMeasureCode>YD</unitOfMeasureCode>
            <packageInstruction>
              <packMethodCode>RL</packMethodCode>
            </packageInstruction>
            <destinationName>ABC (PHILS.), INC.,</destinationName>
            <earliestDate>20081126</earliestDate>
            <latestDate>20081228</latestDate>
            <shipmentMethodCode>S</shipmentMethodCode>
            <itemVariance>
              <upperVariance>3</upperVariance>
              <lowerVariance>3</lowerVariance>
              <varianceTypeCode>Percent</varianceTypeCode>
            </itemVariance>
          </baseItem>
          <itemPrice>
            <pricePerUnit>12.000000</pricePerUnit>
            <totalPrice>1200.000000</totalPrice>
          </itemPrice>
        </orderItem>
        <totals>
          <totalQuantity>100.000000</totalQuantity>
          <totalMerchandiseAmount>1200.00</totalMerchandiseAmount>
          <allowanceChargeTotal>
            <totalAllowanceChargeAmount>0.00</totalAllowanceChargeAmount>
          </allowanceChargeTotal>
          <totalTaxAmount>0.00</totalTaxAmount>
          <totalDocumentAmount>1200.00</totalDocumentAmount>
        </totals>
      </orderDetail>
    </Order>
      

  4.   

    <?xml version=”1.0”?>
    <message>
      <header>
    <date>
      <day>25</day>
      <month type=”character”>December</month>
      <year format=”numeric”>2010</year>
    </date>
    <from>Me</from>
    <to>You</to>
    <to relationship=”very close”>Your family</to>
    <to relationship=”not so close”>Your friends</to>
    <subject>Happy Christmas</subject>
    <banner></banner>
      </header>
      <body>
    <paragraph size=”1 line”>
    Best wishes for Christmas
    </paragraph>
    <paragraph size=”2 line”>
    Hope Santa stopped as your place and lest lots of presents
    </paragraph>
      </body>
      <footer>
    <day>Christmas Day</day>
    <from>Santa’s little helper</from>
      </footer>
    </message>