BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
Uncategorized
Riding the Media Wave
XML and Server-Side Processing
XML Interoperability
Connecting E-commerce Systems with XML
Bluetooth: A Programmer's Primer
Building Dynamic WAP Applications with ColdFusion
Creating a Dynamic WAP Application
WAP Subscriber Identity Modules
The Future of WAP: v1.2 and Beyond
Learning the Lessons of WAP
WAP Overview
Building Usable WAP Applications
Version Forward
Aprenda XML (Spanish version of Learn XML)
Converting HTML to WML
Database Web Application Wizard
Client-Side Presentation Logic
Learn XML
The Understanding XML Game
Dynamic functions: Functional combination, partial application and lambda expressions
<< System.XML
WCF, WS, SOAP >>

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :02/13/2001
Times viewed :205

 
Page 1 of 9

 

  Table Of Contents Next Page

XML Structures for Existing Databases

An excerpt from WROX Press Professional XML Databases by Kevin Williams, Michael Brundage, Patrick Dengler, Jeff Gabriel, Andy Hoskinson, Michael Kay, Thomas Maxwell, Marcelo Ochoa, Johnny Papa, Mohan Vanmane

In this chapter, we will examine some approaches for taking an existing relational database and moving it to XML.

With much of our business data stored in relational databases, there are going to be a number of reasons why we might want to expose that data as XML:

  • Sharing business data with other systems.
  • Interoperability with incompatible systems.
  • Exposing legacy data to applications that use XML.
  • Business-to-business transactions.
  • Object persistence using XML.
  • Content syndication.

Relational databases are a mature technology, which, as they have evolved, have enabled users to model complex relationships between data that they need to store. In this chapter, we will see how to model some of the complex data structures that are stored in relational databases in XML documents.

To do this, we will be looking at some database structures, and then creating content models using XML DTDs. We will also show some sample content for the data in XML to illustrate this. In the process, we will come up with a set of guidelines that will prove helpful when creating XML models for relational data.

Note that there are some mechanisms out there already that provide a "default" way to derive XML from existing relational database structures. ADO 2.5 will return a "flattened" recordset in an XML representation, while SQL Server 2000 provides direct extraction of joined structures as XML. However, these technologies are still maturing, and can't handle more complex situations, like many-to-many relationships, that must be represented by IDREF-ID pointers. In this chapter, we'll see how structures can be handcrafted to properly represent these types of relationships. We will tune our structures to maximize performance, and minimize document size.

Page 1 of 9

 

  Table Of Contents Next Page

Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Sr. Software Engineer - Analytics
Immediate Mainframe openings for Ch
Immediate TANDEM-TAL openings for C
Immediate ASP.NET/C# Openings for C
Sr. Software Engineer

View all Jobs (Add yours)
View all CV (Add yours)



reservationless conference calls
water softener
Teleconference
Host Department NOLIMIT Web Hosting
MSN
sunglasses
UK Dedicated Servers
efax


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP