Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > PROPVARIANT tag...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4224 of 4320
Post > Topic >>

PROPVARIANT tags in data row of recordset XML

by Roman <romandvoskin@[EMAIL PROTECTED] > May 2, 2008 at 02:52 PM

Hi,

The problem is this: I have what I believe to be a persisted ADO
recordset  as XML which has datatypes (PROPVARIANTs) in the z:row. I
need to know how to read the XML back into a recordset where the
PROPVARIANT tags will actually be used. The end goal is to use this
recordset to derive actual objects that are persisted, so its possible
the reading that tags should occur AFTER the recordset has been
formed.

Thanks,

Roman

Below is a an example:

- <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:updatable="true">
      - <s:AttributeType name="MSG_SOURCE" rs:number="1"
rs:write="true">
        <s:datatype dt:type="string" dt:maxLength="4294967295"
rs:precision="0" rs:long="true" rs:maybenull="false" />
      </s:AttributeType>
      - <s:AttributeType name="MSG_CODE" rs:number="2"
rs:write="true">
        <s:datatype dt:type="string" dt:maxLength="4294967295"
rs:precision="0" rs:long="true" rs:maybenull="false" />
      </s:AttributeType>
      - <s:AttributeType name="MSG_OBJECT_ID" rs:number="3"
rs:write="true">
        <s:datatype dt:type="string" dt:maxLength="4294967295"
rs:precision="0" rs:long="true" rs:maybenull="false" />
      </s:AttributeType>
      - <s:AttributeType name="MSG_ARG1" rs:number="4"
rs:write="true">
        <s:datatype dt:type="string" dt:maxLength="4294967295"
rs:precision="0" rs:long="true" rs:maybenull="false" />
      </s:AttributeType>
      - <s:AttributeType name="MSG_ARG2" rs:number="5"
rs:write="true">
        <s:datatype dt:type="string" dt:maxLength="4294967295"
rs:precision="0" rs:long="true" rs:maybenull="false" />
      </s:AttributeType>
      - <s:AttributeType name="MSG_ARG3" rs:number="6"
rs:write="true">
        <s:datatype dt:type="string" dt:maxLength="4294967295"
rs:precision="0" rs:long="true" rs:maybenull="false" />
      </s:AttributeType>
      <s:extends type="rs:rowbase" />
    </s:ElementType>
  </s:Schema>
  - <rs:data>
    - <rs:insert>
      <z:row MSG_SOURCE="" MSG_CODE="" MSG_OBJECT_ID="3948(VT_I4)"
MSG_ARG1="4(VT_I4)" MSG_ARG2="3948(VT_I4)" MSG_ARG3="Test(VT_BSTR)" />
    </rs:insert>
  </rs:data>
</xml>
 




 1 Posts in Topic:
PROPVARIANT tags in data row of recordset XML
Roman <romandvoskin@[E  2008-05-02 14:52:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:01:15 CST 2008.