Using Internet notation with AcuXML

With AcuXML, the file path is specified in the runtime configuration file, "cblconfig."

To read a file from the Internet, you set up a filename alias in the runtime configuration file, and use Internet notation to map the data files directly to a URL. For example, to read "bookfile.xml" over the Internet, you might define a name alias for "bookfile" in your configuration file like this:

BOOKFILE  http://myserver.mycomp.com/xmldata/bookfile.xml

Whenever your application refers to "bookfile" in a SELECT statement, the alias "http://myserver.mycomp.com/xmldata/bookfile.xml" is substituted.

To specify that "bookfile" should be treated as XML data for translation by AcuXML, you must also set the filename_HOST variable to "XML" as follows:

BOOKFILE_HOST XML

With AcuXML, you include a separate entry for each XML document name.

For more information on setting up file aliases, see File Name Assignments.