Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 14th, 2006, 08:57 AM
Authorized User
 
Join Date: Sep 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to aneesh_sunu@yahoo.co.in Send a message via Yahoo to aneesh_sunu@yahoo.co.in
Default Is xml is substitute for a database?

Hai
Is xml is a substitute for database.
If yes, how we can develope tables or databases.
Please help me1
Regards
Aneesh
__________________
Regards
Aneesh
 
Old November 14th, 2006, 09:35 AM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

XML can be used as a database, but is not really a substitute. Some databases like SQL Server can actually return XML.

You can define XML Schemas (also known as XSDs), which are similar to database Schemes. These Schemas often define table structures, keys, relationships, and so on.

Links of interest:

XML Schema (XSD): http://en.wikipedia.org/wiki/XML_Schema
Using XML as Database with Dataset: http://www.codeproject.com/useritems/XMLData.asp

- Adam Kahtava [http://adam.kahtava.com]
 
Old November 14th, 2006, 04:21 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

A simple XML file can be a substitute for a database, at modest data volumes, say a couple of megabytes, especially when there is little update activity. You can write queries easily enough using XSLT or XQuery. But there's lots of features missing, like fine-grained concurrency and access control.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
substitute text() node value in XPath expression Coolcampers XSLT 4 April 30th, 2008 08:39 AM
xml to database tamal Classic ASP XML 1 April 28th, 2008 03:24 AM
Importing XML into database siachen00 XML 0 April 21st, 2006 09:30 AM
XML as Database ranakdinesh General .NET 1 May 1st, 2004 08:19 AM
whole database to XML doc beyondforsaken VB How-To 4 June 11th, 2003 08:12 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.