Which DOM Class can I use to assign a Query?

I am using Tamino for a college project, and I wanted to know to which DOM class or object can I assign the results of a taminoQuery() action.
Also using the Transformer Class in Xerces API, how do I apply the XSL transformation to the DOM object which I get above. How do i display the results of the Transformation in the browser? Can anyone help?

I think that the best way (and the simplest way!)is using ASP technology or Javascript (TaminoLib.js library)

If you want I will send me same sample code using ASP.

Dariusz Baumann