Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xmltocursor giving error
Message
From
11/06/2009 11:48:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Xmltocursor giving error
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01405227
Message ID:
01405227
Views:
115
Hello all

Starting to step off into XML data exchanges and I'm getting an error when trying to use the XMLtoCursor function.
The error I'm getting is "XML Parse Error: Invalid at the top level of the document. Line 1 Position 1"

Here is the top portion of the XML file I'm trying to import:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003" 
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:appinfo />
  </xs:annotation>
 
  <xs:simpleType name="OperationActionCode">
    <xs:restriction base="xs:string">
      <!-- none -->
      <xs:enumeration value="NONE"/>
      <!-- insert -->
      <xs:enumeration value="INS"/>
      <!-- update -->
      <xs:enumeration value="UPD"/>
      <!-- delete -->
      <xs:enumeration value="DEL"/>
    </xs:restriction>
  </xs:simpleType>
Hummina??
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Next
Reply
Map
View

Click here to load this message in the networking platform