Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLToCursor Error
Message
De
04/05/2006 10:50:13
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
XMLToCursor Error
Divers
Thread ID:
01119184
Message ID:
01119184
Vues:
76
This works when I set it up to use a file, but having trouble using a variable. Must be my flags or something, but I get an error when it tries to do the XMLTOCURSOR in the procedure. Error is: XML Parse Error: Invalid at the top level...

The top couple lines of the XML variable is:
<?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
<VFPData>
	<xsd:schema id="VFPData" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
Code that's relevant:
m.XML = CURSORTOXML('AcctValTest','XMLTest',2,1,0,'1')

DO p_CreateCursorFromXML WITH m.XMLTest



PROCEDURE p_CreateCursorFromXML

	PARAMETERS XMLTest

	XMLTOCURSOR('XMLTest','crsXMLCursor',2048)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform