| By Deepak Vohra, Ajay Vohra | Article Rating: |
|
| June 11, 2008 02:00 PM EDT | Reads: |
3,565 |
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,565
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.
- SQL Anywhere Server and AJAX
- PowerBuilder Top Feature Picks
- The Difference Between Web Hosting and Cloud Computing
- PowerBuilder 12 and .NET
- Sybase CTO to Speak at 4th International Cloud Computing Expo
- Migrating Legacy Client/Server PowerBuilder Apps
- Why SOA Needs Cloud Computing - Part 1
- PowerDesigner 15: Expanding Data Modeling into Your Enterprise
- Five Reasons to Choose a Private Cloud
- PowerBuilder and .NET: Development Strategy
- SQL Anywhere Server and AJAX
- PowerBuilder Top Feature Picks
- The Difference Between Web Hosting and Cloud Computing
- PowerBuilder 12 and .NET
- Sybase CTO to Speak at 4th International Cloud Computing Expo
- SYS-CON's iPhone Developer Summit Day One ROCKS
- A Review of Key PDF and Font Concepts
- Migrating Legacy Client/Server PowerBuilder Apps
- New Features in PowerBuilder 11.5
- New Features in PowerBuilder 11.5
- Where Are RIA Technologies Headed in 2008?
- PowerBuilder History - How Did It Evolve?
- 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




































