EDN Admin
Well-known member
Heres my XML document
Note that if I load it in a xdocument the root will have all the contents of the file, Im not sure but I think that its related with the error that Im receiving in the client app:
Line 0 Pos 0: XML document must have a top level element.
Any help?
thanks, andremoraes@hotmail.com
<?xml version="1.0" encoding="Windows-1252"?>
<ewarehouse_objects xmlns="http://www.essi.info/ns/2002/ewobjects
<tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0018
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0018</id_value>
</identifier>
<name display="true
<name_value>110-E-0018</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC Preflash Column Overhead Condenser</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item> <tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0035
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0035</id_value>
</identifier>
<name display="true
<name_value>110-E-0035</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC Kerosene PA Return Cooler</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item> <tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0036
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0036</id_value>
</identifier>
<name display="true
<name_value>110-E-0036</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC ATM Overhead Condenser</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item> <tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0045
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0045</id_value>
</identifier>
<name display="true
<name_value>110-E-0045</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC Kerosene and Diesel Product Cooler</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item> <tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0049
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0049</id_value>
</identifier>
<name display="true
<name_value>110-E-0049</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC Gas Oil Product Cooler</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item>
</ewarehouse_objects>
View the full article
Note that if I load it in a xdocument the root will have all the contents of the file, Im not sure but I think that its related with the error that Im receiving in the client app:
Line 0 Pos 0: XML document must have a top level element.
Any help?
thanks, andremoraes@hotmail.com
<?xml version="1.0" encoding="Windows-1252"?>
<ewarehouse_objects xmlns="http://www.essi.info/ns/2002/ewobjects
<tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0018
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0018</id_value>
</identifier>
<name display="true
<name_value>110-E-0018</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC Preflash Column Overhead Condenser</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item> <tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0035
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0035</id_value>
</identifier>
<name display="true
<name_value>110-E-0035</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC Kerosene PA Return Cooler</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item> <tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0036
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0036</id_value>
</identifier>
<name display="true
<name_value>110-E-0036</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC ATM Overhead Condenser</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item> <tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0045
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0045</id_value>
</identifier>
<name display="true
<name_value>110-E-0045</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC Kerosene and Diesel Product Cooler</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item> <tagged_item facility_id="YNBU-6491" tagged_item_id="110-E-0049
<class display="true
<class_name>TAGGED ITEM</class_name>
</class>
<identifier display="true
<id_value>110-E-0049</id_value>
</identifier>
<name display="true
<name_value>110-E-0049</name_value>
</name>
<attributes>
<attribute>
<attributename>Description</attributename>
<value>AC Gas Oil Product Cooler</value>
<type>DATEXT</type>
</attribute>
</attributes>
</tagged_item>
</ewarehouse_objects>
View the full article