Microsoft Access
  Home arrow Microsoft Access arrow Page 2 - Importing XML into MS Access 2003
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MICROSOFT ACCESS

Importing XML into MS Access 2003
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 7
    2006-07-25

    Table of Contents:
  • Importing XML into MS Access 2003
  • Importing the file into MS Access 2003
  • Importing the same file into Excel 2003
  • One more time

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Importing XML into MS Access 2003 - Importing the file into MS Access 2003


    (Page 2 of 4 )

    Create a new MDB file and change its default to xml.mdb. You may save it to the default directory. This database has no tables, or other objects except for the utilities. Click on Import... hyperlink by following the trail File -->Get External Data.... as shown.

    This opens up the default folder My Documents with a default file type which may be one of several different MS Access file extensions, but not XML. Since the file used in this tutorial is on the local web server, this was accessed as shown in the next picture.

    When you highlight the webstudents.xml file, click on the Import button. The next window shown in the next picture, Import XML, pops up as shown. In this picture the student node has been expanded. You can see the two child nodes of the XML file.

    Now if you click on the Options button you will see three options that you can use to import together with the default option, Structure and Data. While the options button is dimmed (inactive), a new button, Transform. is spawned as shown.

    .

    For now, just click on the OK button. This brings up the following MS Access message, and a new table is created with the name student (corresponding to the node).

    The student table is now part of the database and you can create all other MS Access objects such as Form, Report, and Data Access Pages. Observing the table details, you will notice that although all student information showed up correctly, the student IDs are missing. So the import is not really complete. There is something missing in the import which is not quite apparent. The program does not give any indication as to what might be missing.

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · Access 2003 does not seem to do a good job, but MS Excel does. Now you have a two...
     

    MICROSOFT ACCESS ARTICLES

    - Linking SQL Express 2005 Tables to MS Access...
    - Working with Access Projects in Access 2007
    - Exploring Access 2007
    - Working with Stored Procedures in an MS Acce...
    - Creating and Using Action Queries
    - Creating Data Access Pages with Charts using...
    - Advanced Ideas using VBA
    - VBA Details
    - Updating Records in MS Access
    - Using ADO`s Record Object with URLs
    - Exporting XML from MS Access 2003
    - Importing XML into MS Access 2003
    - On Using Pass-through Queries in MS Access
    - Distributed Queries in MS Access
    - Configuring a Linked Microsoft Access Server...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway