Procedure for Using the C Interface

The ASN1C compiler generates XER decode functions for C for constructed types in a specification. These can be invoked in the same manner as other decode functions. In this case, they install the generated SAX content handler functions and invoke the XML parser’s parse function to parse a document. The procedure to call these generated functions is described below.