I have to work on XML files but have not been provided with a Schema; I have used a couple of the free online generator tools to generate the schema. I am not getting any errors when I try to generate cursors, but neither am I getting any data! The cursors are created - but are empty.
oXA = CREATEOBJECT("XmlAdapter")
oXA.xmlschemalocation = lcCustFolder+"XMLORDER.xsd"
oXA.RespectNesting = .T.
oXA.LoadXML(lcCustFolder+"TEMPORDER.xml",.T.)
FOR i=1 TO oXA.Tables.Count
oXA.Tables(i).Tocursor()
ENDIF
The file I am using to generate the Schema and the one I am testing are identical.
Does anyone have any pointers?
(I can provide a sample file and schema if that would be helpful).
Thanks
Barry Sutton