XML
  Home arrow XML arrow XML Integration with ADO
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 
Actuate Whitepapers 
VeriSign Whitepapers 
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? 
XML

XML Integration with ADO
By: Gayathri Gokul
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 12
    2004-04-05

    Table of Contents:
  • XML Integration with ADO
  • XML Data Simplified
  • Easy as 1,2,3
  • Saving Recordsets as XML

  • 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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    XML Integration with ADO


    (Page 1 of 4 )

    In a previous article we looked at XML integrating with ADO and IE and some of the nice features that allow us to access a recordset as an XML document. In today’s tutorial we will be covering multiple levels of hierarchical XML data,illustrating some complex XML data binding examples and enumerating how to persist ADO recordsets to XML files as well as streams. We also discuss a much easier way of persisting ADO recordsets to response objects.

    Let us dive right into the XML data pool and soak ourselves with a few sample codes. For starter consider the following code:


    <XML ID “diDataPublishers”>
      
    <Publishers>
         
    <Publisher>
            
    <pub_id>001</pub_id>
             
    <pub_name>McGraw Hill</pub_name>
            
    <city>Berkeley</city>
             
    <state>CA</state>
             
    <country>USA</country>
              
    <title>
                   
    <title_id>Mc1</title_id>
                   
    <title>HTML-Virtual Classroom.</title>
                   
    <price>$39.99</price>
                   
    <pub_date>5/24/02</pub_date>
               
    <sale>
                   
    <store_id>9898</store_id>
                   
    <ord_num>H001</ord_num>
                   
    <ord_date>$39.99</ord_date>
                   
    <qty>30</qty>
               
    </sale>
           
    </title>
           
    <employee>
                   
    <emp_id>JM01B</emp_id>
                     
    <fnameHenry<fname>
                      
    <midinl>M</midinl>
                      
    <lname>Ford<lname>
                       
    <emp_title>Manager</emp_title>
             
    </employee>
            
    <employee>
                   
    <emp_id>WC02S</emp_id>
                     
    <fname>William<fname>
                      
    <midinl>C</midinl>
                      
    <lname>Smith<lname>
                       
    <emp_title>Cashier</emp_title>
            
    </employee>

    More XML Articles
    More By Gayathri Gokul


     

    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-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway