D
daz_oldham
I've got a couple of good books here, read online, but I really am
having no luck whatsoever with this.
In my DLL I am creating some XML in an XmlDocument data type, and I
would then like to vaildate it against my XSD which is on the local
hard drive.
I have tried it this way:
String sXSDPath = sSchemaLoc + sSchemaName;
xdXML.Schemas.Add(null, sXSDPath);
ValidationEventHandler veh = new
ValidationEventHandler(ValidateXMLHandler);
xdXML.Validate(veh);
But when I step through, I don't seem to be ging into my
ValidateXMLHandler.
Is this the correct way to do it?
Many thanks
Darren
having no luck whatsoever with this.
In my DLL I am creating some XML in an XmlDocument data type, and I
would then like to vaildate it against my XSD which is on the local
hard drive.
I have tried it this way:
String sXSDPath = sSchemaLoc + sSchemaName;
xdXML.Schemas.Add(null, sXSDPath);
ValidationEventHandler veh = new
ValidationEventHandler(ValidateXMLHandler);
xdXML.Validate(veh);
But when I step through, I don't seem to be ging into my
ValidateXMLHandler.
Is this the correct way to do it?
Many thanks
Darren