Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

More XML tagNames & attributes

Hi ALL

I have been using ado rs for master/detail, detail, detail etc & update
batch but I find it problematic when I send the detail back to the server
with updatebatch. I have ended up just blasting the detail & emptying the rs
into a new rs's so that it does not try to update the existing details esp
after a heavy edit session & rows in the html display table have been
modifed/deleted etc.

So I have moved to marchalling an xml version of the rs to the client, I
tried it by building tagNames around the elements of an rs & by using
attributes.
Using attributes I get more compact data, & navigating the DOM does not
appear any more difficult, maybe easier.

Anybody used this more, any gotcha's if building rs's with tagName vs
attributes.

ps. I know that ado 2.5 supports Istream on the xml, but by my data
for an data entry scr can not be generrated by the 2.5 implmentation, maybe
never ..

pps.
Thanks to Phil Weber for clearing up XML tagnames & attributes my last post
[1091 byte] By [TC] at [2007-11-9 14:54:10]