SRW.SET_XML_TAG
built-in functionThis function replaces the current report, group, outer group, or column XML tag.
SRW.SET_XML_TAG (type, 'name', 'string');
Parameter |
Description |
type |
Is one of the following: |
name |
Is the report object XML tag to be set. |
string |
Is the XML text to be used. |
SRW.SET_XML_TAG
should be set in a trigger that fires before
the report starts formatting, such as the Before Report trigger.
FUNCTION BeforeReport return boolean is
begin
SRW.SET_XML_TAG(SRW.REPORT_XML, 'DEPT',
'TOOLS_DIVISION');
SRW.SET_XML_TAG(SRW.GROUP_OUTER_XML, 'G_DEPTNO',
'DEPARTMENT_LISTING');
SRW.SET_XML_TAG(SRW.GROUP_XML, 'G_DEPTNO',
'DEPARTMENT');
SRW.SET_XML_TAG_ATTR(SRW.GROUP_XML, 'G_DEPTNO',
'NUMBER="&DEPTNO"');
SRW.SET_XML_TAG(SRW.COLUMN_XML, 'DNAME',
'DEPARTMENT_NAME');
return (TRUE);
end;
Copyright © 1984, 2005, Oracle. All rights reserved.