Description This procedure takes an XML report definition stored in the document buffer or file system and applies it to the report. If applying a definition from the document buffer, SRW.APPLY_DEFINITION takes no arguments. If applying a definition from a file, SRW.APPLY_DEFINITION takes the name and path of the file as an argument.
Syntax
SRW.APPLY_DEFINITION[(filename.xml)];
Usage Notes
· If you want to apply more than one XML report definition, simply stack separate SRW.APPLY_DEFINITION statements in the order that you want them to be applied.
· 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');
· To apply an XML report definition from the document buffer you must first use SRW.ADD_DEFINITION to place the definition in the buffer. For example:
srw.add_definition (:xml_col);srw.apply_definition;