Configuring an XML data driver by using an XML helper
You can configure an XML data driver by using an XML helper.
About this task
The following example shows how to create and configure an XML driver by using an XML helper.
Procedure
To configure an XML data driver by using an XML helper:
Use code such as in the following example:
// configuration setting
IlrXmlHelper.Config config = new IlrXmlHelper.Config ();
config.schemaParser = …;
…
try { IlrXmlDataDriver driver = IlrXmlHelper.createDataDriver ( config );
}
catch ( IlrXmlErrorException e ) {
// some parsing error
}