XML
  Home arrow XML arrow Importing XML Files into Access 2007
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  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
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? 
XML

Importing XML Files into Access 2007
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 6
    2007-03-06

    Table of Contents:
  • Importing XML Files into Access 2007
  • Importing the XML file
  • Modifying the webstudents.xml file
  • Another method for bringing in an XML file

  • 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 Files into Access 2007


    (Page 1 of 4 )

    In an earlier article on Access 2003, importing an XML file into the Access application was described. It was shown that, while exporting data from a table was easier, importing an XML file was not straightforward. In this tutorial an XML file will be imported into Microsoft Access 2007, the latest version of MS Access for comparison.

    Creating a blank database

    From Start -->Microsoft Office choose MS Access 2007 and click to open the program. In the open program click on the Microsoft Office button and from the drop-down menu choose the New...option to create a blank database, ImportXML as shown. After providing a name when you hit the create button you will have created a blank database with a default Table1 with a single row.

    Importing an XML File

    The XML file that will be imported is shown in the next listing, a file used in several other tutorials on the DevShed sites. This file is on the present machine as well as on some networked drives.

    <?xml version="1.0"?>
    <wclass> 
    <!-- My students who attended my web programming class --> 
    <student id="1"> 
    <name>Linda Jones</name>  
    <legacySkill>Access, VB5.0</legacySkill> 
    </student> 
    <student id="2"> 
    <name>Adam Davidson</name>  
    <legacySkill>Cobol, MainFrame</legacySkill> 
    </student> 
    <student id="3"> 
    <name>Charles Boyer</name>  
    <legacySkill>HTML, Photoshop</legacySkill> 
    </student> 
    <student id="4"> 
    <name>Charles Mann</name>  
    <legacySkill>Cobol, MainFrame</legacySkill> 
    </student> 
    </wclass> 

    More XML Articles
    More By Jayaram Krishnaswamy


       · Access 2007 fails in a manner similar to Access 2003 while importing...
     

    XML ARTICLES

    - More on Triggers and Styles and Control Temp...
    - Looking at Triggers with Styles and Control ...
    - A Closer Look at Styles and Control Templates
    - Styles and Control Templates
    - Properties and More in XAML
    - Elements and Attributes in XAML
    - XAML in a Nutshell
    - Importing XML Files into Access 2007
    - Using MSXML3.0 with VB 6.0
    - MSXML, concluded
    - MSXML, continued
    - MSXML Tutorial
    - Generating XML Schema Dynamically Using VB.N...
    - XSL Transformations using ASP.NET
    - Applying XSLT to XML Using ASP.NET





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek