Validation of the Output Document

With both implementations we are confident of creating well-formed XML. However, wouldn't it be nice in some cases to be able to validate the instance document against a schema, too? This might be particularly important if you were going to send the document directly to a consuming application, especially if that application belongs not to you but to another organization. Chapter 5 will show how to do this.

Get Using XML with Legacy Business Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.