| By Deepak Vohra, Ajay Vohra | Article Rating: |
|
| June 11, 2008 02:00 PM EDT | Reads: |
3,604 |
Overview
XML data management in Sybase Adaptive Server Enterprise is
implemented with the XML Management Package. This tutorial will cover the database’s role in XML data management, ASE 12.5 data management support, and XML processing in ASE 12.5. We’ll start with the role of a database in XML data management.
Database’s Role in XML Data Management
Most XML processing without a database is done in the
application layer. XML processing in the application layer has its
disadvantages. Parsing XML in the application layer doesn’t include storing and querying the parsed XML document. Querying XML data with XPath and XQuery with
a query engine isn’t supported. Transforming data with a XSLT processor and
storing data in a file system is less optimal than database-based
transformation and storage.
A database may be used for storing and indexing XML data, querying XML data, and mapping and transforming XML data.
XML Storage and Indexing
An XML document may be parsed and the data in the document
may be stored in a relational database. The most optimal way of storing an XML
document is in a database that supports integrated XML data management. A
database integrated with XML data management provides methods for storing,
indexing, and querying XML data.
XML Query
A database user may want to query a database for XML data
stored in a database. A database query can span multiple XML documents. A
database integrated with XML data management provides a query engine for
querying XML data based on SQL/XML, XQuery, and XPath.
XML Mapping and Transformation
XML data stored in a database may have to be transformed
into another format. A database integrated with XML data management supports
the transformation of SQL/XML data.
ASE 12.5 XML Data Management Support
Adaptive Server Enterprise 12.5 supports XML storage, XML
indexing, XML querying, and XML mapping and transformation. XML data management
in Adaptive Server Enterprise is implemented with the XML Management Package.
XML Storage and Indexing
ASE 12.5 integrates XML data management with the RDBMS. Optimal
methods are used for storing, indexing, and querying XML data instead of the
RDBMS-based storing, indexing, and querying methods. XML data is stored like
SQL data. Indexing XML elements, attributes, and paths is supported.
XML Query
ASE query engines support querying data based on SQL/XML
(SQLX), XPath, and XQuery. ASE provides for the complete interchangeability of
SQL-XML data. SQL operations can be done on XML data and XML operations can be
done on SQL data.
XML Mapping and Transformation
ASE supports XML mapping and transformation. With Transact
SQL, XML output can be produced from data in an RDBMS. ASE supports SQLX,
XPath, and Xquery, which may be required in data transformation. An XSLT engine
can be deployed in ASE to transform the data. SQL and XML data can be
transformed into another format.
Published June 11, 2008 Reads 3,604
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Deepak Vohra
Deepak Vohra is a Sun Certified Java 1.4 Programmer and a Web developer.
More Stories By Ajay Vohra
Ajay Vohra is a senior solutions architect with DataSynapse Inc.
- Why SOA Needs Cloud Computing - Part 1
- The Cloud Transition: What Does It Mean For You?
- Seeding The Cloud: The Future of Data Management
- Cloud Expo and the End of Tech Recession
- Economy Drives Adoption of Virtual Lab Technology
- Sybase Named “Silver Sponsor” of iPhone Developer Summit
- The Cloud Has Cross-Border Ambitions
- Ulitzer Named "New Media" Partner of Greatly Anticipated iStrategy Event in Berlin
- Risks and Enterprise Mobility?
- Steps for Success in Enterprise Mobility?
- Are Mobile Luddites Resisting Mobility?
- Hot Event in Santa Clara Becomes Cool with the iPhone
- The Difference Between Web Hosting and Cloud Computing
- Sybase CTO to Speak at 4th International Cloud Computing Expo
- Why SOA Needs Cloud Computing - Part 1
- Five Reasons to Choose a Private Cloud
- The Cloud Transition: What Does It Mean For You?
- The Threat Behind the Firewall
- Seeding The Cloud: The Future of Data Management
- Cloud Expo and the End of Tech Recession
- Tips for Efficient PaaS Application Design
- Economy Drives Adoption of Virtual Lab Technology
- Using the Microsoft Chart Controls in PowerBuilder
- Sybase Named “Silver Sponsor” of iPhone Developer Summit
- Where Are RIA Technologies Headed in 2008?
- PowerBuilder History - How Did It Evolve?
- The Top 250 Players in the Cloud Computing Ecosystem
- Custom Common Dialogs Using SetWindowsHookEx
- DDDW Tips and Tricks
- OLE - Extending the Capabilities of PowerBuilder
- DataWindow.NET How To: Data Entry Form
- Book Excerpt: Sybase Adaptive Server Anywhere
- Sybase ASE 12.5 Performance and Tuning
- Working with SOA & Web Services in PowerBuilder
- Office 2003 Toolbar: A New Look For Your Old PowerBuilder App
- Dynamically Creating DataWindow Objects



























