XML is widely known for its powerful methods of structuring data. However, most businesses’ data is stored in well-established, yet rigid relational database format. This creates the need for a system that can combine the best of both technologies. Our system, as part of a larger ongoing project, supports XQuery processing over virtual XML documents by first mapping XML data into the relational format and then translating XQuery expressions using an algebraic-framework into appropriate SQL queries.