Assigning the root element name of an XML object
If you define several root elements of the same type in a schema, you must add an element name to the XML object.
About this task
The execution object model (XOM) is composed of types and an XML object is characterized by its type. If your configuration has several XML root elements defined in a schema and these elements are related to the same type, you must add an element name to the XML object so that the rule engine knows which root element to use. If you do not do this, the parsing errors might occur.
Procedure
To specify which root element you want to reference:
Use an API such as setAsRootElement().
For example:
IlrXmlObject xmlObject = ...;
xmlObject.setAsRootelement( "myElement" );