Take tag attributes as columns
Hi, i want use a ADODB.RecordSet(RS) as Table datasource, one of RS methods retrieve data as XML, but, the name fields are into z:row. the XML Format looks like this:
<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882' xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882' xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'><s:ElementType name='row' content='eltOnly' rs:CommandTimeout='30'><s:AttributeType name='c0' rs:name='' rs:number='1' rs:nullable='true'><s:datatype dt:type='string' rs:dbtype='str' dt:maxLength='13'/></s:AttributeType><s:extends type='rs:rowbase'/></s:ElementType></s:Schema><rs:data><z:row c0='ASA00032531A'/></rs:data></xml>
I read the documentation and i understand (i guess) my XML should be like this:
<data>
<row>
<c0>ASA00032531A</c0>
<row>
</rs:data>
but i want use the original XML returned by RS
can you help me?
thanks
<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882' xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882' xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'><s:ElementType name='row' content='eltOnly' rs:CommandTimeout='30'><s:AttributeType name='c0' rs:name='' rs:number='1' rs:nullable='true'><s:datatype dt:type='string' rs:dbtype='str' dt:maxLength='13'/></s:AttributeType><s:extends type='rs:rowbase'/></s:ElementType></s:Schema><rs:data><z:row c0='ASA00032531A'/></rs:data></xml>
I read the documentation and i understand (i guess) my XML should be like this:
<data>
<row>
<c0>ASA00032531A</c0>
<row>
</rs:data>
but i want use the original XML returned by RS
can you help me?
thanks
Arturo Guerrero
September 1,