How to validate an existing XML Document against an XML Schema

To validate an XML Document against an XML Schema (XSD), you can either attach the schema through Tools->Attach Schema, adding a schema location attribute, or use Tools->Schema Used to Validate XML for an internal association. Validation occurs via Liquid XML Studio using the associated schema during the process.


To validate an XML Document against and XML Schema (XSD) you need to associate them in one of 2 ways.
Option 1 – Open the XML Document and click:
Tools->Attach Schema
This will add a schema location attribute to associate the XML document with the XSD.
Option 2 – Open the XML Document and click:
Tools->Schema Used to Validate XML
This will add an internal association within Liquid XML Studio, but will not change the XML Document.
When you click Validate, Liquid XML Studio will then will validate the XML Document using the associated XML Schema.

http://support.liquid-technologies.com/KB/a99/how-to-validate-an-existing-xml-document-against-an.aspx

Discover more from Liquid Technologies Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading