1. A method for providing an XML query cursor for traversing and fetching XML data, 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 and executing specific SQL queries of data located in said relational database, and d. returning XML data from said executing step.