Information générale
Catégorie:
COM, DCOM et OLE automation
Hi,
I am looking for a bit of assistance when validating a xml document against a schema. I can sucessfully parse a xml document using DOMDocument40 and return the first error. I am looking for a way to count the errors in it and loop through these to return the doc.parseError.Line, doc.parseError.linepos, doc.parseError.srcText so i can output an error file with all the errors for a given document rather than just the first.
Any help appreciated, thanks in advance.
Mike
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement