Reading XML documents (classic rule engine)
After deserialization, XML documents can be read and represented as XML objects for use with the classic rule engine.
About this task
During deserialization, an XML object is created from an XML document. The XML document can then be read and represented it as an IlrXmlObject instance. Errors are raised if the document format is not valid.
Procedure
Results
IlrReflect model = ... try {
driver.setModel ( model );
Reader reader = new FileReader ("xmlFile.xml");
IlrXmlObject myObject = driver.readObject (reader);
} catch ( IlrXmlErrorException e ) {
}