skip to main content
Part 3: The 32-Bit Drivers : The XML Driver : Defining Locations
  
Defining Locations
When configuring an XML data source, you must define the location of the XML or HTML documents that the driver will access. The locations can be either from a local file system or from a Web server.
The following table describes the types of locations:
Folder
Implies that each XML file is a single table. When defining a Folder location, you specify only a directory as the location (not a directory and a file name), for example, C:\xmlsample.
XML Document
Implies that the full path to the XML document, including the XML file name, is the location. Using this type of location, each document can have one or more tables and can be a hierarchical-formatted XML document. When defining an XML Document location, you specify a path and an XML file name as the location, for example:
C:\xmlsample\file.xmlYou can also specify a web service through a URL, for example:
http://xxx.company.com/search=XML&mode=books
HTML Document
Implies the use of an HTML document with embedded XML Data Islands. Using this type of location, each document can have one or more tables. When defining an HTML Document location, you specify a path and an HTML file name, for example, C:\htmlsample\file.html, as the location.