This is a brilliant class. I would like to see more documentation aside from the examples. For instance, how to use things like $class or $tagname. It was only through experimentation that I found I could "select tagname, text from..." and at first I was trying "select $tagname, text from..." and that failed. This class has already put a project on the fasttrack for me and will doubtless save me countless hours in the future. Thanks for a great class!