Internet has changed many aspects of our society, transforming it in e-society, and is having special importance in business world, Internet has converted business in e-business. About information, when systems work or collaborate with other systems using the web, they have to manage different data types and from different sources. On one hand they have to manage new data types as web data and, on the other hand, have to continue working with traditional data types as databases. In the same environment is necessary to manage both data types. In Internet XML is more and more being used, it has become de facto standard to data interchange and integration on the web, in databases world the most extended is relational one therefore, it would be useful to develop a tool that link both environments. In this paper we propose a new system for querying databases from a web environment based on XML. This system includes a model to adapt any database in order it could be queried in the web, a ne...