1. A method for transforming Extensible Markup Language (XML) documents for querying using a database query, the method comprising: receiving an XML document; transforming said XML document into a transformed object including information from said XML document together with an interface, said interface providing random access to information of interest within said transformed object; and in response to a database query for information of interest, retrieving said information of interest from said transformed object.