You can import an XML schema
definition into a form design and then bind the objects in the form
design to elements and attributes in the XML schema definition.
Note: If you are importing an XML schema that contains
an <xs:include> or <xs:import> schema element, the element’s
schemaLocation attribute must be set to a file reference on the
local file system.
Do one of the following:
Select File > New Data Connection.
Select an object on the page and, in the Object palette,
click the Binding tab and select New Data Connection from the Data
Binding menu.
Select XML Schema and click Next.
Do one of the following tasks:
Specify one or more of these options:
In the
Use XML Data Root Element Name menu, select the root data element
that will be used to name the root subform of the form design. This menu
is populated with the global element declarations in the XML schema.
(Optional) Select Embed XML Schema to embed the XML schema
as a packet in the XDP file.
(Optional) Select Transform Incoming Data and click Browse
to search for and select the XSLT file that will be used to transform
incoming data for the form design.
(Optional) Select Transform Outgoing Data and click Browse
to search for and select the XSLT file that will be used to transform
outgoing data for the form design.
Click Finish. The data appears in the Data View palette.
Note: The at symbol (@) before name in the Data
View palette indicates that this node is an attribute of an option node,
and #data indicates the actual value of the option node.
|
|
|