Hi again,
Rereading your message and seeing content of xml with notepad I see it's a .Net dataset export. I have VFP5-9 installed on my box. VFP9 can read .Net dataset XMLs. That makes me think along the lines if I have a newer msxml4.dll then yours?
MSXML4.DLL 4.10.9404.0 (4.0 SP1)
MSXML3.DLL 8.50.2162.0 (3.0 SP5)
Cetin
>Hi Cetin, now are me and my collegue seeing this :)
>and looking better we can see that at runtime vfp add a column named "element"
>the problem is that in design time this doesn't happen, and it load the correct values without the blank record and the column "element".
>
>please download this xml file:
>
>
http://www.cfsolutions.it/colori.zip>
>it contains an xml file exported from a SQCE database
>(5 fields: "ridpda","nrcolore","descr","base","rid" and 4 records with colors: red, yellow, green, white)
>and try with it at runtime with this code in a button on a form
>
>
>ret =XMLTOCURSOR( GETFILE() , "thealias", 512)
>=MESSAGEBOX("n rec" + transf(ret))
>SELECT thealias
>browse
>
>
>and at design with
>
>
>XMLTOCURSOR( GETFILE() , "thealias", 512)
>
>
>remember VFP7SP1
>
>let me know, thanks
>
>
>>Franco,
>>I don't see it happen.
>>Cetin