Creating Sections Groups in XML Documents
The following statement creates a section group called xmlgroup with the XML_SECTION_GROUP group type.
begin
ctx_ddl.create_section_group('xmlgroup', 'XML_SECTION_GROUP');
end;
You can optionally add sections to this group using the procedures in the CTX_DDL package, such as CTX_DDL.ADD_ATTR_SECTION or CTX_DDL.ADD_STOP_SECTION. To index your documents, enter a statement such as:
create index myindex on docs(htmlfile) indextype is ctxsys.context
parameters('filter ctxsys.null_filter section group xmlgroup');
See Also: For more information on section groups, see CTX_DDL Package