Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating
Message
De
16/09/2003 07:20:02
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
XML
Titre:
Validating
Divers
Thread ID:
00829291
Message ID:
00829291
Vues:
58
I am having difficulties getting the xml to validate against the schema. The problem is no matter what I do to the xml, it does trigger the error.

Dim r As New XmlTextReader("XmlFile.xml")
Dim v As New XmlValidatingReader(r)
v.ValidationType = ValidationType.Schema
AddHandler v.ValidationEventHandler, AddressOf ValidationCallBack
While r.Read()
End While
r.Close()
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform