•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 456,441 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,607 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our RSS, Web Services and SOAP advertiser: Programming Forums
Views: 9896 | Replies: 79
![]() |
•
•
Join Date: Oct 2007
Posts: 36
Reputation:
Rep Power: 2
Solved Threads: 0
DB2 9 is a hybrid database system. It can have both relational data and native XML data in the same database. DB2 9 introduces an XML data type. The relational data is stored in tabular structures and the XML data is stored in tree structure. The structure enables XML data to be stored in its hierarchical form within columns of a table. Because data is stored in its native form, both types of data can benefit from the performance. On top of both tabular structures and tree structures, there is one hybrid database engine that processes both types of data. There are two different parsers to process SQL and XQuery. A single compiler is used for both languages. DB2 9’s compiler and optimizer can handle both languages. An application can use the combinations of SQL and XQuery to access relational and XML data in the hybrid database. DB2 9 treats XML as a native data type. It has pureXML storage, meaning that XML data is stored in XML form, which is a hierarchical structure.
•
•
Join Date: Oct 2007
Posts: 36
Reputation:
Rep Power: 2
Solved Threads: 0
This depends on the data you want to store in the database. The main difference between relational schema and XML schema is that relational schema describes data as strongly structured and typed. XML schema describes data as loosely structured and typed. XML schema describes data order, but relational schema does not.
In general, data that has the following properties should be stored in XML:
The data is better described in hierarchal format.
The schema is constantly changing and evolving.
Many attributes of the data are empty or unknown.
You can check http://www.ibm.com/developerworks/xm...GX06&S_CMP=EDU for advice on creating XML.
In general, data that has the following properties should be stored in XML:
The data is better described in hierarchal format.
The schema is constantly changing and evolving.
Many attributes of the data are empty or unknown.
You can check http://www.ibm.com/developerworks/xm...GX06&S_CMP=EDU for advice on creating XML.
•
•
Join Date: Oct 2007
Posts: 36
Reputation:
Rep Power: 2
Solved Threads: 0
You should store such data in XML. If you store such data in relational tables, you will have complicated relational schemas, which means you require many tables. Managing these tables can have overhead. The SQL query to access such data requires joining many tables. If you have to process this data together with other data, the SQL query will be even more complicated.
•
•
Join Date: Oct 2007
Posts: 36
Reputation:
Rep Power: 2
Solved Threads: 0
DB2 9 supports validating XML documents with XML schema at insert or import time. The XML schemas have to be registered in XML Schema Repository (XSR) before it can be used for validation. The XML document in the same XML type column can be validated by a different XML schema of your choice in the insert/import time. You can also choose not to validate the XML. In general, there are three choices:
Validate on the server.
Validate within an application.
Do not validate.
XML validation enables you to create complex rules that define acceptable data. You can check http://www.ibm.com/developerworks/xm...ary/x-tipxsslt to use the XML Schema Standard Type Library to simplify the process of requiring formatted data such as e-mail addresses and telephone numbers.
Validate on the server.
Validate within an application.
Do not validate.
XML validation enables you to create complex rules that define acceptable data. You can check http://www.ibm.com/developerworks/xm...ary/x-tipxsslt to use the XML Schema Standard Type Library to simplify the process of requiring formatted data such as e-mail addresses and telephone numbers.
•
•
Join Date: Oct 2007
Posts: 36
Reputation:
Rep Power: 2
Solved Threads: 0
You can check http://www.ibm.com/developerworks/xm...ary/x-tipxsslt to use the XML Schema Standard Type Library to simplify the process of requiring formatted data such as e-mail addresses and telephone numbers.
Last edited by mallar6 : Nov 5th, 2007 at 8:52 am.
•
•
Join Date: Oct 2007
Posts: 36
Reputation:
Rep Power: 2
Solved Threads: 0
You can check http://www.ibm.com/developerworks/xm...ary/x-tipxsslt to use the XML Schema Standard Type Library to simplify the process of requiring formatted data such as e-mail addresses and telephone numbers.
![]() |
•
•
•
•
•
•
•
•
DaniWeb RSS, Web Services and SOAP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
accounting software selection api apple asp bebo blogger blogging business software cd code development digital dom drama drm erp systems evaluations feed gdata google html ipod katemodern key linspire linux lonelygirl15 management microsoft mp3 news programming project management reader rights ripping rss soap software selection standards technology evaluation tv video w3c weather web xml xoap youtube zune
- Ezines (E-mail Management System) (eCommerce)
- Contract: Java, JSP, J2EE, XML & Fuego - USA (anywhere) (Web Development Job Offers)
- Windows XP and RAM Management (Windows NT / 2000 / XP / 2003)
- Senior Configuration Management/Build Engineer (Software Development Job Offers)
- Java XML Developer London WC1 (Web Development Job Offers)
- xml parser to validate xml files-Urgent (XML, XSLT and XPATH)
- How XML can be used in place of any database management system. (RSS, Web Services and SOAP)
- How are you making use of xml? (XML, XSLT and XPATH)
- over heating (Cases, Fans and Power Supplies)
- Processor (Windows NT / 2000 / XP / 2003)
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: session variable
- Next Thread: XML Update??


Linear Mode