Well, if XMLTOCURSOR works, then you should be able to work backwards, i.e. do a CURSORTOXML then load that into the XmlAdapter.
XMLTOCURSOR('file1.xml', 'file1', 512)
CURSORTOXML("file1", "file2.xml", 2, 512, 0, "1")
loXml = CREATEOBJECT("XMLADAPTER")
loXml.LoadXml('file2.xml',.t.,.f.)
- Craig
"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson