My.ADVISOR.com Sign-In
ID
Password

Member Center / Sign-Up
   
SUBSCRIPTION STATUS
If you are a subscriber to this publication, sign-in to access locked articles. To subscribe or renew go to www.AdvisorStore.com.
Go to Article

TECH NEWS

Get an XML View of Relational Tables

XML for Tables from IBM alphaWorks provides an XML view of DB2 relational tables and lets you query those views as if they were XML documents.


IBM alphaWorks is offering a Java-based tool for download that gives you an XML view of DB2 relational tables and lets you query those views as if they were XML documents.

XML for Tables runs on Windows and UNIX and lets you publish XML documents from relational data. IBM says the benefit of the technology is it connects Internet applications and other XML-based applications with relational database technology and current storage of business data.

As the company explains, SQL language is typically used to query relational tables. XML for Tables lets you query SQL data (stored in the relational tables) in a new language, XQuery, currently undergoing W3C approval (see http://www.w3.org/TR/xquery). It includes functions for creating XML views of relational tables in such a way that SQL data is treated like virtual XML documents that can be queried in XQuery.

Here's how the process works:

  1. XML for Tables translates XQuery into SQL and pushes down SQL to DB2.
  2. The SQL queries produce output.
  3. XML for Tables tags that output into XML so the XQuery results are in an XML document.

XML for Tables is wrapped as DB2 stored procedures. You submit queries by calling the stored procedures.

To use the tool, you need DB2 8 and Java Development Kit (JDK) 1.3 or above

In addition, you must have the DB2Admin authority to perform the tasks and your DB2PATH must be set to the following /home/db2/sqllib on UNIX or C:\sqllib on Windows.

You can download the software free of charge at http://www.alphaworks.ibm.com/tech/xtable.


Printer-friendly
page layout

Get an XML View of Relational Tables

No reader comments ... yet.

    What do YOU think about this topic? Share your advice and thoughts using this form.

    Your Name

    REQUIRED : PUBLIC

    Your E-Mail

    REQUIRED : PRIVATE

    Job, Company

    OPTIONAL : PUBLIC

    City, State, Country

    OPTIONAL : PUBLIC

    Your Web Site

    OPTIONAL : PUBLIC

    Your Comment

    Please help everyone by keeping your comments on-topic, using clean language, and not defaming or making personal attacks.


    Your e-mail address is required, but it will not be displayed to the public or given to anyone. See our Privacy Policy. Comments become visible after they pass our spam filter, and spammers and abusers are permanently blocked. Please report spam or abuse.

    ARTICLE INFO

    Web Edition: 2003.04.28, Doc #12292

    FREE ACCESS FREE ACCESS

    Keyword Tags: Database, Database Development, Database Management, Development, IBM, IBM DB2, IBM Lotus, IBM Software, IBM WebSphere, IBM XML for Tables, Integration, Java, Microsoft Windows, RDBMS - Relational Database, Software Development, SQL, Web Development, XML

    Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
    Portions copyright ©1983-2010 Advisor Media, LLC. All Rights Reserved.
    Reuse or reproduction of any portion or quantity of Advisor Media's copyrighted content, in any form, for any purpose, requires written permission.
    ADVISOR®, the ADVISOR logo, and other names and logos that incorporate ADVISOR are registered trademarks, trademarks or service marks of Advisor Media, LLC in the United States and/or other countries.
    Other trademarks are used for identification, editorial or descriptive purposes and are the property of their owners.
    Hosted by Prominic.NET Website powered by
    LOTUS SOFTWARE
    oa SMITU117 posted 2003-4-28 mod 03/15/2010 03:10:40 AM ztdbms/ztdbms
    domino-144.advisor.com my.advisor.com 03/18/2010 05:17:18 AM