Specifications

CHAPTER 12 Exporting and Importing XML Data
Users Guide 393
Importing data with
group headers
For XML import using a template, element and attribute contents in the header
section are ignored. However, if the Starts Detail marker does not exist, all
element and attribute to column mappings within the template are used for
import. This has the following implications for reports with group headers:
If data is imported to a Group report using a template that has a Starts
Detail marker, the group header data is not imported because import starts
importing from the Starts Detail location.
If the Group report has one group and the import template has no Starts
Detail marker, all the data is imported successfully.
Nested groups cannot be imported
If the Group report has nested groups, the data cannot be imported successfully
even if the Starts Detail marker in the import template is turned off.
Restrictions
Report columns cannot be referenced twice for import. A second column
reference to a report column within an XML import template is ignored.
An XML element or attribute name whose content references a report column
for import must be unique within the level of nesting. It cannot occur twice in
the template at the same nesting level.
Setting the import
template
The names of all templates for the current report display in the Use Template
drop-down list on the Data Import page in the Properties view.
Using export templates for import
If you have already defined an export template for a report, you can use it as an
import template, but only the mapping of column names to element attribute
names is used for import. All other information in the template is ignored.
The template you select in the list box is used to conform the XML imported
to the specifications defined in the named template.
The Data Import page also contains a property that enables you to create a trace
log of the import. See “Tracing import” on page 399.