Configuring an XML data driver using an XML helper

You can configure an XML data driver using an XML helper.

About this task

The following example shows how to create and configure an XML driver using an XML helper.

Procedure

To configure an XML data driver 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
}

See IlrXmlDataDriver and IlrXmlHelper.