Subject:Associate XML with Schema Author:Ivan Pedruzzi Date:15 Jan 2013 08:53 PM
Here two ways to do it:
1) Create a folder in the Stylus Studio project then right click on the folder then click on "Associate schema to folder". Then drag & drop all your XML files to that project folder and save the project.
After you have done that, you can simply open any XML document from the folder and validate it.
The validation command will create a schema cache with all schemata register in the project folder then will run the schema processor .
2) If you running Enterprise edition you could take advantage of Saxon creating a simple identity transformation using collection function to get all document nodes from a given folder on disk, then use its built-in validation capabilities.