Hi Doug,
There must have been a change between your beta and mine. Signature for ToXML in my version is:
ToXML(cXMLDocument,[cNameSpace],[cSchemaLocation],[lFile],[lIncludeBefore],[lChangesOnly])
Sure appreciate you posting the example, it has been a great help in figuring out how to use XMLAdapter.
Regards
Bob Tracy
Never engage in a battle of wits if you're only half armed.