Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Schema Validation
Message
De
21/02/2005 04:45:14
 
 
À
20/02/2005 03:00:42
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00988563
Message ID:
00988794
Vues:
24
Hi,

>>
I am aware of links of this kind and I have done a lot of research for tools that I can incoporate into the application without success. Can you recommend one?
>>

As Terry mentions you can use MSXML to validate a document - check the MSXML documentation (esp .validateOnParse)

>>
Based on the results of my research it seems to me that I need to write my own code utilising the MSXML.DLL and I have been experimenting with this with limited success.
>>

What problems are you having with MSXML (apart from the learning curve <g>)
You can use VFP to add elements to an MSXML document or use standard VFP string functions to create the required XML directly. If you want the validation then go for the former option. But I'm not sure what you can gain. Sure - if the validation fails you will know that your code is not producing the required output but I don't see how you will correct that without correcting the offending code....

>>
There are lots of examples on MSDN for Visual Basic but nothing that I have found for VFP. Can you recommend a good book that deals with it?
>>

Don't know of a book offhand but there's not really anything to learn that is VFP specific. If you're using MSXML then it's a question of learning to use its objects and methods. If producing XML using VFP then you'll just be using the VFP string functions...

HTH, Regards,
Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform