XML Loader

This loader compiles the contents of the file into a MillScript XmlElement.

File Format

Any valid XML document is a valid MillScript XML file, e.g.

<?xml version="1.0"?>
<document>

  <properties>
      <author email="moya@users.sourceforge.net">Kevin Rogers</author>
      <title>XML Loader</title>
  </properties>

</document>
        

On loading, this will generate an XML element with a single child, which contains two children, etc.

Use

  1. Create an xml file in your inventory, containing all the required information, as detailed in the file format. e.g Lets assume you create a file called sample.xml.
  2. To use the connection within a script, we just have to refer to the name of the xml file, e.g.
    sample
                
    and this will load the connection for us.

Notes