Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
1 out of 8 rated this helpful - Rate this topic

XML Data Import in Access

Microsoft® Access now provides you with the ability to import information from an XML document into one of the standard Access data engines: Microsoft® Jet or Microsoft® SQL Server™ 2000 Desktop Engine.

You can import an XML file that contains only data (bulk load), metadata (structure only), both data and metadata (structure and data load) or one that has been transformed using Extensible Stylesheet Language Transformation (XSLT) during the import process.

Access provides choices for using data from many external sources. XML makes it easier to transform the data from almost any external application for use by Access. You can:

  • Import XML data to a Jet, SQL Server, or SQL Server Desktop Engine
  • Import XML schema data to a Jet, SQL Server, or SQL Server Desktop Engine
  • Use an XSLT file to transform the data into an Access data format

As with importing other data into Access, the File | Get External Data | Import option is used to import XML data files into Access. This option brings up the Import dialog box where an XML document can be selected, as well as a schema that describes the structure of the data. Only a single document can be selected for import into Access. To support the import of XML, the data must be in a format that Access recognizes either in a native format or by using a schema.

Note   When importing XML data, you cannot choose a subset of the XML document; the entire file has to be imported.

By choosing Options from the Import XML dialog box, you can select a specific Access format in which to transform the native XML data. In addition, you can specify whether to overwrite any existing tables with the same name and overwrite or append them to existing data.

See Also

Working with XML | Office Applications and XML | XML Data Export | XSL: Technology Backgrounder | Access Forms and Reports Conversion | Working with XML in the Design Environment | Developing Office Developer Applications

Show:
© 2014 Microsoft. All rights reserved.