Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to import this
Message
 
To
06/07/2006 21:30:37
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01134333
Message ID:
01134560
Views:
16
Probably the problem is with the format. As in VFP Help:
*------------------------------------------------
Note
The XMLAdapter LoadXML method might not correctly interpret other XML schema formats as produced by other products
*----------------------------------------------------

If you wish, send files to me. I will see whether I can help.


>Hi,
>I have a sample xml file from customer exported from SAP system. He wants us to import it to our system.
>
>I tried to use XMLAdapter to load it, no error but tables.count return 0. Any ideas?
>
>
>loXA = CREATEOBJECT("XMLAdapter")
>loXA.XMLSchemaLocation="c:\schema.xsd"
>?loXA.LoadXML("c:\data.xml", .T., .T.)  && RETURN .T.
>?loXA.Tables.Count  &&RETURN 0
>
>
>Pls advice.
>
>Pls inform me if you need my schema and xml file for testing.
>
>Thank you
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform