Parse XML form
|
|
Use the Mapping tab to define Parse XML rules using a graphical tree control. GRP-510 5.5
This tree structure was introduced in V5.5. Click Upgrade to enable the XML Tree Control on any Parse XML rule created prior to Version 5.5. After the upgrade is complete, you cannot return to the former presentation of the parse rule.
In the tree structure, marks an element, and marks an attribute.
Field |
Description |
Allow Tree Editing? |
Enables the XML data to be edited using the tree control. This option is available only if Auto-generated XML? is selected on the XML tab. |
Delete an element or attribute and all of its child elements or attributes. | |
Add an attribute to the selected element. | |
Add a child element to the selected element. | |
Update | Click to update the XML tree content to reflect definitions contained in the schema document referenced on the XML tab. (This is useful when a newer version of an XSD becomes available.) This starts the Connector and Metadata Accelerator. |
Double-click a tree node to displays Node Properties Panel.
Node Properties Panel — Mapping tab
Field |
Description |
Mapping Mode |
Choose the method used to map XML elements to properties.
|
Context Page |
Optional. Specify a page listed on the Pages & Classes tab to be used as the target for parsed XML data values. You may also specify an embedded |
Override Class |
If Context Page is set to a |
Context Class |
Read-only. Lists the class of the Context Page. |
Property |
Used only for You may specify a |
Namespace |
Used only for the |
Element Name |
Used only for the |
Node Properties Panel — Node tab
Node Properties Panel — Type tab
Field |
Description |
XSD Base Type |
This option is typically set automatically when the parse rule is auto-generated from an XML Schema Definition. Note: if you are parsing a DateTime field you need to specify "dateTime" in this field for the property to parse correctly. |
Type Name |
This option is typically set when the parse rule is auto-generated from an XML Schema definition, and has no effect on parsing. |
Type Namespace |
This option is typically set when the parse rule is auto-generated from an XML Schema definition, and has no effect on parsing. |
Default Value |
This option is typically set when the parse rule is auto-generated from an XML Schema definition, and has no effect on parsing. |
Value Constraints |
These values are typically set when the parse rule is auto-generated from an XML Schema Definition, and have no effect on parsing. |
Is SOAP Array? |
This option is typically set when the parse rule is auto-generated from an XML Schema Definition, and has no effect on parsing. |
Parser Steps (Deprecated)
These fields are deprecated in V5.5+. For an explanation of these fields, see Parse XML form — Completing the Mapping tab (V5.4 fields).
Parse Type (Deprecated)
This field is deprecated in V5.5+. For an explanation of these fields, see Parse XML form — Completing the Mapping tab (V5.4 fields).