function _tag_open(&$parser, $tag, $attributes)
{
switch (strtoupper($tag)) {
case 'TABLE':
$this->obj = new dbTable($this, $attributes);
xml_set_object($parser, $this->obj);
break;
case 'SQL':
if (!isset($attributes['PLATFORM']) or $this->supportedPlatform($attributes['PLATFORM'])) {
$this->obj = new dbQuerySet($this, $attributes);
xml_set_object($parser, $this->obj);
}
break;
default:
// print_r( array( $tag, $attributes ) );
}
}