LOCAL oXA as XMLAdapter, oXT as XMLTable
oXA=CREATEOBJECT("XMLAdapter")
oXA.XMLSchemaLocation="Whatever.xsd"
? oXA.LoadXML("Whatever.xml",.T.)
? oXA.Tables.CountFOReach oXT IN oXA.TablesIF oXT.Fields.Count >0
oXT.ToCursor()
ENDIFENDFOR
> >A client sent an XML file and a corresponding XSD file. >The first node/tag in the XML file is "root" tag. > >Well how do I put these two files to gather or how do I reference the XSD file when try to decipher the XML? >