The generated code is instrumented with following macros
Extension point called just after decoding known attribute
Extension point called just after decoding xmlns attribute
Extension point called just after decoding unknown attr
Extension point called just after decoding element name and allocating struct, but before decoding any of the attributes.
Extension point called just after decoding the entire element.
Extension point called just after decoding element tag, including attributes, but before decoding the body of the element.
Extension point called just after decoding processing instruction
Extension point called just after decoding comment
Extension point called just after decoding string content
Extension point called just after decoding unknown element
Following macros are available to the extension points
Type prefix (as specified by -p during code generation)
Namespaceful element name (NS_EEE)
Name of the struct that describes the element
Namespace prefix of the element (as seen in input schema)
Name of the element without any namespace qualification.