Versions Compared

Key

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

...

Code Block
/* After the Create_XML_XSD_Schema() function is called, the Extract_XML_Schema_Name() function is called, the
file C:\orders_schema.xsd will contain the schema 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.

...