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
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
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.

Thanks!

Postnext
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

Posttop
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!

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
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!  
go

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.