Parse XML rules
|
|
Create a Parse XML rule by selecting Parse XML
in the Integration-Mapping
category.
A Parse XML rule has three key parts:
Field |
Completing the Field |
Applies To |
Select a class for this rule. The class is typically derived from the Data- base class or Work- base class. The classes you can enter here may depend on the RuleSet you select. On the Restrictions tab of the Class form, a class rule may limit rules applying to that class to belong to one of an explicit list of RuleSets. |
Namespace Qualifier |
Enter a name to group logically related XML documents. This value is arbitrary and is used only to differentiate identical element names that are used in different contexts. (You can include special characters such as @, % & * in this key part.) Although conceptually similar to a XML namespace, the Namespace key part is not used for matching namespace-qualified element names as defined by a Document Type Description (DTD) or XML Schema (XSDL) definition.
If this Parse XML rule was created by the Import XSD/DTD wizard from a XML Schema Definition (XSD) file, the namespace in the XSD is used. If the XSD file doesn't identify a namespace, the value |
Root Element Name |
Enter the name of the root element of the XML documents to be parsed by this rule; this must be a valid Java identifier. See How to enter a Java identifier. |
For general information about the New form, see Completing the new rule dialog. For general information on the Save As form, see How to enter rule keys using Save As.