Hallo,

> 
> kann mir jemand auf die Sprünge helfen. Ich muß prüfen ob 
> eine XML Datei die ich lade wellformed ist.
> wie stelle ich dies am einfachsten an.
> 
> Tipps links alles willkommen.
> 

einfach try/catch um den XmlReader.
Wenn er die Xml-Exception wirft, ist das Ding nicht
well-formed:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconReadingXMLWithXmlReader.asp

"The XmlReader class checks that the XML is well-formed, and throws
XmlExceptions if an error is encountered."

Gruss

Alex


_______________________________________________
Asp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an