I am successfully importing XML based data into dcouments in a database using te LotusScript classes. But, I cannot find any information about how to validate the original XML against its schema. Has anyone had experience with this please?
Subject: Validating an XML document against an XSD schema
There’s the InputValidationOption of the NotesDOMParser, but AFAIK, that only works with DTDs, not Schemas.
Subject: RE: Validating an XML document against an XSD schema
Thanks for the clue Stan. I used the sample code from the developer help file to construct something which I can demonstrate using a DTD.
I had trouble until I put the path in front of the file in the following line in the XML file which was unexpected:
I cannot get it to work with a schema.
Thanks again.