Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The fully qualified path name of the schema file associated with the XML file passed in DOSFile. No error is returned if the schema file is not successfully created.

See also

Extract_XML_Schema_Name()Get_XML_Value()Inet_OI_XML()XML_Importer()

Example

Code Block
/* After the Create_XML_XSD_Schema() function is called,  
the Extract_XML_Schema_Name() function is called, 
the the
file C:\orders_schema.xsd will contain the schema definition definition 
for the ORDER_NO and ITEM_DESCRIPTIONS_ENTERED fields in the ORDERS table. */

declare function create_xml_xsd_schema
tablename = 'ORDERS'
rpt_fields = 'ORDER_NO':@vm : 'ITEM_DESCRIPTIONS_ENTERED'
dos_path = ''
dosfile = 'C:\orders.xml'
retval = create_xml_xsd_schema( tablename , rpt_fields , dos_path , dosfile)

 

...

Sample XSD File

Below is the contents of the schema file produced by running the example.

...