hi,
i encountered a difficulty when i tried to open a DomDo***ent object.
And
i could get different RecordCount when i open the xml.
pls follow my way to recap the scene.
1. rs.Save Domtmp, adPersistXML (rs is an object of the ADO.Recordset, and
to be sure the rs.recordcount is more than 2 now)
2. To revise Domtmp.
for example:
To revise this xml style
<rs:data>
<z:row ....../>
<z:row ....../>
<z:row ....../>
</rs:data>
to the style below.
<rs:data>
<z:row ......></z:row>
<z:row ......></z:row>
<z:row ......></z:row>
</rs:data>
3.Both the two style are correct. But when we load then style which is
changed.
DomTmp.loadxml(.....);
And i use a ADO RecordSet object to open it.
rs.open DomTmp
And now u check the recordcount, it's 1 instead of 3. But i think 3 is
correct. In my opinion, there is something wrong when ADO.RecordSet
analyzes
the xml style.
Could u tell me how to resolve it. Thanks
My Dev Environment:
Win2000 sp4
ADO 2.6
Sincerely,
Lorry