Specifications
CHAPTER 12 Exporting and Importing XML Data
Users Guide 391
<xs:element name="state" type="xs:string"/>
</xs:schema>
<po:d_contact_list xmlns:po=
"http://www.example.com/PO1" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">
<po:d_contact_list_row>
<po:id>1</po:id>
<po:last_name>Hildebrand</po:last_name>
<po:first_name>Jane</po:first_name>
<po:city>Emeryville</po:city>
<po:state>MI</po:state>
</po:d_contact_list_row>
By default, the generated XML is not associated with a namespace.
Importing XML
You can select XML as a file type in the dialog box that displays when you
select Rows>Import in the Report painter. (The Preview view must be open to
enable the Rows>Import menu item.)
Data can be imported with or without a template. To import data without a
template, the data must correspond to the report column definition. The text
content of the XML elements must match the column order, column type, and
validation requirements of the report columns.
Composite, OLE, and Graph reports
Composite, OLE, and Graph reports cannot be imported using a template. You
must use the default format.
Importing with a template
If the XML document or string from which you want to import data does not
correspond to the report column definition, or if you want to import attribute
values, you must use a template.
If a schema is associated with the XML to be imported, you must create a
template that reflects the schema.