XMLPORT Error

SheinaSheina Member Posts: 13
This is my first attempt to write an XMLPORT. I thhought I had done it right but I keep geeting the error Element <invoice_information> is unexpected.

This is my xml file

<?xml version="1.0" ?>
- <invoice>
- <invoice_information>
<invoice_date>Apr 1, 2011</invoice_date>
<account_number>0001480</account_number>
<invoice_number>000012677</invoice_number>
<service_start_date>Mar 1, 2011</service_start_date>
<service_end_date>Mar 31, 2011</service_end_date>
<note>Invoice includes payments received by Mar 31, 2011</note>
</invoice_information>
- <invoice_address>
<company_name>my company</company_name>
<name>ap contact</name>
<address>my address</address>
</invoice_address>
- <summary>
<total_amount_due currency="US">789.29</total_amount_due>
<due_date>Apr 25, 2011</due_date>
- <summary_of_your_charges>
<balance_from_your_last_bill>27.52</balance_from_your_last_bill>
<satellite_services>674.13</satellite_services>
<total_before_tax>701.65</total_before_tax>
<total>789.29</total>
</summary_of_your_charges>
</summary>


The attached file shows the xmlport definition.

If anyone can see what I am doing wrong I would really appreciate the help.

Thank you

Comments

Sign In or Register to comment.