John,
>Thank you for your sample.
>What If I already have XSD schema?
The code I posted will work without the schema and perhaps we can get your code to work with the schema as another educational exercise (probably with some XPath adjusting of XMLField objects).
Please post the XML schema.
>
>I tried code below, but also not working.
>
>oxa = CREATEOBJECT("XMLAdapter")
>oxa.XMLSchemaLocation="c:\my.xsd"
>oxa.respectnesting = .t.
>oxa.loadxml("c:\my.xml",.t.)
>
>?oxa.firstnestedtable.alias
>?oxa.nextsiblingtable.alias
>