Scott,

Ready to talk about streaming mode...

> I think /row-set/column-header[1] will fix your immediate problem (though
> I'm not 100% sure).  In the longer run, you should be able to override the
> DTM's iterators and traversers to control this... (you ought to be able to

The column-header[1] is some what of a hack ?? plus there is more than one
column-header element (one for each column) so you would have to know the
extent also... I was looking into overriding the traverser but it was not clear to
me how to do it without the having the NodeTest available.

> I wonder if you could change the structure a little bit, so I ask for
> /row-set/@* to get the column header information????  This might clean
> things up a bit generally...

Are you suggesting putting all the column header information as attributes
on the row-set element. Each column (column-header) has its own set of
attributes if we moved them, then we need some strange naming conventions
such as column-label-001 ??

I was thinking about adding another level of hierarchy such as:
<sql>
    <metadata>
        <column-header/>
        <column-header/>
    </metadata>
    <row-set>
        <row>
            <col/>
        </row>
        <row>
            <col/>
       </row>
    </row-set>
</sql>

That way /sql/metadata/column-header will fail when trying to traverse
into /sql/row-set/row. Much easier to detect.

Regards
John G


--

--------------------------------------
John Gentilin
SMART911
18314 Carlwyn Drive
Castro Valley CA 94546

    Contact Info
[EMAIL PROTECTED]
Phone 1-510-881-4821
--------------------------------------

begin:vcard 
n:Gentilin;John
tel;fax:510-727-0931
tel;work:510-881-4821
x-mozilla-html:FALSE
url:www.smart911.com
org:SMART911;Development
adr:;;18314 Carlwyn Drive;Castro Valley;CA;94546;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:CTO
fn:John Gentilin
end:vcard

Reply via email to