XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1187)
- Stylus Studio Technical Forum (14613)
-> + After Updateing WIN10 to WIN11... (9)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-> + Problem with SAXO processor - ... (5)
-> + PDF Format Help (4)
-> + License check unreliable (3)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7622)
+ XQuery Help and Discussion (1989)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Bill ShelleySubject: Associate XML with Schema
Author: Bill Shelley
Date: 15 Jan 2013 02:15 PM
I am using Stylus Studio to validate xml files that I am creating with a schema. Is there a way to load the schema so that I don't have to associate the file to the schema for every file?

I am testing several files and it's time consuming to click on associate XML with schema every time before I click on Validate.


Ivan PedruzziSubject: Associate XML with Schema
Author: Ivan Pedruzzi
Date: 15 Jan 2013 08:53 PM

Hi Bill,

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.

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Bill ShelleySubject: Associate XML with Schema
Author: Bill Shelley
Date: 16 Jan 2013 06:45 AM
The folder option is just what I was looking for. Thanks very much!

Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.