Description This procedure takes an XML report definition stored in a column or variable and adds it to the document buffer. You may need to execute SRW.ADD_DEFINITION multiple times to get your entire report definition into the buffer. Once the definition is in the buffer, you can use SRW.APPLY_DEFINITION to apply it.
Syntax
SRW.ADD_DEFINITION(:column_name | variable);
Usage Notes
· To apply the XML report definition, use the SRW.APPLY_DEFINITION built-in. For example:
srw.add_definition (:xml_col);srw.apply_definition;
· If the XML report definition is located in a file, you can use SRW.APPLY_DEFINITION by itself to reference the file. For example:
srw.apply_definition('d:\xml_reps\web.xml');