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
Doug HudgeonSubject: Importing local schema when editing schema on local machine
Author: Doug Hudgeon
Date: 07 Oct 2004 08:12 PM
I am an XML Spy user and use its CustomCatalogue.xml feature extensively.

The custom catalogue allows me to nominate a local xsd file to import rather than the remote file shown in the schema.

For example, my xsd reads: <xs:import namespace="http://www.rd.com/2004/01/Data" schemaLocation="http://www.rd.com/2004/01/Data"/>

My entry in the custom catalogue reads: <uri name="http://www.rd.com/2004/01/Data" uri="d:\schema\Data.xsd"/>

So that when I am editing locally XML Spy actually imports the local file rather than the remote file.

How can I achieve the same result in Stylus Studio?

Postnext
Ivan PedruzziSubject: Importing local schema when editing schema on local machine
Author: Ivan Pedruzzi
Date: 07 Oct 2004 09:54 PM

HI Doug

To build an OASIS catalog you can use the appropriate document wizard
File -> Document Wizards -> User-defined Catalog

We also have an excellent video tutorial here

Web page
http://www.stylusstudio.com/learn_catalogs.html

Video
http://www.stylusstudio.com/videos/catalogs.wmv


Hope this helps
Ivan

Posttop
Tony LavinioSubject: Importing local schema when editing schema on local machine
Author: Tony Lavinio
Date: 08 Oct 2004 03:14 PM
If you have already developed your catalog, just add it to the
project as a regular XML file, and right-click on it. There will
be an option called "Use Document as Catalog". If you click on
that, your catalog will be used for all files in that project.

Note that you can have multiple catalogs in a project, and they
will be searched in order. Also, the full OASIS catalog spec has
been implemented, including delegation and chaining.

Catalogs can also be navigated as if they were part of the file
system - if a catalog is attached to a project, in any File|Open
dialog you can select the 'Project' filesystem type, and the
catalogs will appear as directories, and each catalog entry as a
file. Even delegated catalogs will appear as sub-directories.

There is more at http://www.stylusstudio.com/learn_catalogs.html
including a video demonstration.

 
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-2011 All Rights Reserved.