Hi I am looking for some advice and help with an application i am developing. It can currently validate a document against a schema and report where the errors are in the document. To improve this application i want to be able to gather all of the successful nodes into another document, and all the failed instances into another document. I'll demonstrate what I intend to do using the following example. If c is invalid i want to add the b parent to a document containing the failed instances, where as if it passes the schema validation i will add it to the successful validation. <a> <b> <c></c> </b> </a> Does anyone have any idea how to write code to do this? Thanks Martin -------------------------------------------------------------------------------- The information in this email is intended only for the addressee(s) named above. Access to this email by anyone else is unauthorised. If you are not the intended recipient of this message any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. Emap plc and or its subsidiaries do not warrant that any attachments are free from viruses or other defects and accept no liability for any losses resulting from infected email transmissions. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of this organisation. -------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
