Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLTOCURSOR() how to I use and XSD file
Message
De
24/03/2003 17:52:09
Bob Tracy
Independent Consultant
Driftwood, Texas, États-Unis
 
 
À
24/03/2003 11:51:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00769304
Message ID:
00769511
Vues:
35
This message has been marked as a message which has helped to the initial question of the thread.
Margaret,

Here is some sample VFP code to validate just using the MSXML parser. You must use MSXML version 4:
LOCAL oDoc AS MSXML2.DOMDocument
LOCAL oCache AS MSXML2.XMLSchemaCache
oDoc = NEWOBJECT('MSXML2.DOMDocument.4.0')
oCache = NEWOBJECT('MSXML2.XMLSchemaCache.4.0')
oCache.add('http://tempuri.org/ConfigSchema.xsd','c:\development\schemabuilder\ConfigSchema.xsd')
oDoc.async = .F.
oDoc.schemas = oCache
llOK = oDoc.load('schemaconfig.xml')
lcError = oDoc.validate()
IF lcError.errorCode <> 0
	? lcError.reason
ENDIF
HTH
Bob Tracy

Never engage in a battle of wits if you're only half armed.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform