CHAPTER 14 Exporting and Importing XML Data
DataWindow Designer User’s Guide 399
Default export format
If you have not created or assigned an export template, DataWindow Designer
uses a default export format. This is the same format used when you create a
new default export template. See “Creating templates” on page 385.
OLE DataWindow objects cannot be exported using a template. You must use
the default format.
Setting properties on the Data Export page
The Data Export page in the Properties view lets you set properties for
exporting data to XML.
In addition to the properties that you can set on this page, DataWindow
Designer provides two properties that you can use to let the user of an
application select an export template at runtime. See “Selecting templates at
runtime” on page 408.
The Use Template property
The names of all templates that you create and save for the current
DataWindow object display in the Use Template drop-down list.
The template you select from the list is used to conform the XML to the
specifications defined in the named template. Selecting a template from the list
box sets the DataWindow object’s Export.XML.UseTemplate property. You
can also modify the value of the UseTemplate property dynamically in a script.
For example, an XML publishing engine would change templates dynamically
to create different presentations of the same data.