×

Providing XML cursor support on an XML repository built on top of a relational database system

  • US 7,013,311 B2
  • Filed: 09/05/2003
  • Issued: 03/14/2006
  • Est. Priority Date: 09/05/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for providing an XML query cursor for traversing and fetching XML data, said XML query cursor constructed via a hybrid approach, said method for queries of XML data stored in a relational database comprising steps of:

  • a. receiving one or more queries;

    b. translating received queries into one or more SQL queries,c. based on XML query cursor position, selecting specific SQL queries from among said one or more SQL queries and executing said specific SQL queries of data located in said relational database, said step of selecting and executing specific SQL queries further comprising;

    choosing a query generated for a root node, sending it to and executing it in said relational database if a previous tree root or next tree root node is selected by XML query cursor position;

    choosing a parameterized SQL query generated for current element type if a previous sibling or next sibling node is also selected by XML query cursor position;

    choosing one or more parameterized SQL queries, depending on the element type of a selected node, sending one or more queries to and executing one or more queries in said relational database if necessary, if a previous or next node is requested by XML query cursor position; and

    navigating to a previous or next tuple of dataset result generated by said execution of selected SQL queries and returning said previous or next tuple, andd. returning XML data from said executing step.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×