Versions Compared

Key

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

...

ParameterDescription
XML_File_PathThe fully qualified file name (including the path) of the XML file.
XML_RecA variable containing the contents of the XML file after it has been read into memory. See the example below.

See also

XML_Importer()Get_XML_Value()Inet_OI_XML()Create_XML_XSD_Schema()

Example

Code Block
/*
   After the Extract_XML_Schema_Name() function is called, the variable
   xml_schema_name will contain the value C:\orders_schema.xsd.
*/
 
declare function extract_XML_Schema_Name
filename = 'C:\ORDERS.XML'
OSRead filerec from filename then
       xml_schema_name = extract_XML_Schema_Name(  filename, filerec)
end