> local obj, i > > obj = createObject('xmladapter') > > with m.obj > .LoadXml('\tmp\ppp.xml', TRUE, TRUE) > > with .Tables(1) > for i = 1 to 2 > with .Fields(m.i) > > .DataType = 'C' > .MaxLength = 36 > > && also possible > && .DataType = 'V' > && .MaxLength = 50 > endwith > endfor > endwith > > for i = 1 to .Tables.Count > =.Tables[m.i].ToCursor() > endfor > > > endwith >The names of the fields are empty and XmlName shows space between each letter. I guess I only can test by type, not by name.