Hope anyone can help.
   
   
  I am trying to debug the following code in VFP 8:
   
    loAdapter = CREATEOBJECT("xmladapter")
    
  lcpath=[c:\Jean_dev\ICU\Schema\eAppResponseSchema.xsd]
  
  pcxmldata=[c:\Jean_dev\ICU\Schema\SampleAcceptResponse.xml]
  
  loAdapter.XMLSchemaLocation = lcPath
  loadapter.UTF8Encoded= .T.
  loAdapter.LoadXML(pcxmldata,.t.)
  
  * create cursor(s) from the xml data using given xml schema
  FOR EACH locollection IN loAdapter.Tables 
    locollection.TOCURSOR()
  ENDFOR   
   
  * the above code does not produce any errors, but no cursors are created
  * here are the return Values for each of these:
   
  
*!* ?loadapter.IXMLDOMElement   && returned an Object Type
*!* ?loadapter.SOM                      && Returned .NULL.
*!* ?loadapter.tables.Count           && returned 0
*!* ?obj.xml                                 && return the XML structure
   
   
  Thanks in advance,
   
  Jean Haidar
   
   


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to