Name

xml_reload_schema_decl, xml_reload_mapping_schema_decl, xml_schema_debug, xmls_viewremove — reload, inspect and remove SQL/XML schema declarations

Synopsis

xml_reload_schema_decl( in base_uri varchar,
  in rel_uri varchar);
 
xml_reload_mapping_schema_decl( in base_uri varchar,
  in rel_uri varchar);
 
any xml_schema_debug( in base_uri varchar,
  in rel_uri varchar,
  in op varchar,
  in name varchar);
 
xmls_viewremove( in name varchar);
 

Description

xml_reload_schema_decl re-reads an XML schema declaration (typically an .xsd) identified by the base_uri / rel_uri pair and replaces the server's in-memory copy. This is the schema-aware counterpart of xml_load_schema_decl, intended to refresh the cached declaration after the schema source has changed.

xml_reload_mapping_schema_decl performs the same refresh operation for a SQL/XML mapping schema (the declaration that maps SQL tables and columns onto XML elements and attributes for use by FOR XML queries and the xmls_* view machinery).

xml_schema_debug exposes internal state of the schema runtime for debugging. op selects the operation (such as listing loaded schemas, dumping resolution caches, or showing element/type maps) and the optional name narrows the output to a specific element, type, or mapping.

xmls_viewremove drops the named SQL/XML view from the server's view registry, freeing its mapping tree. Use this when redefining a view that was previously registered via xmls_element_table or the SQL/XML view DDL.


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®