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 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Matt AdamsSubject: Replace import/include statement in XSD by the real file content ?
Author: Matt Adams
Date: 03 Dec 2004 03:55 PM
Suppose there is a XSD schema file with one or a couple of
<import ...>
and/or
<include ...>
statements inside.

How can textually really import resp. include these other xsd schematas
so that afterwards there is only one big xsd schema file ?

Matt

Posttop
(Deleted User) Subject: Replace import/include statement in XSD by the real file content ?
Author: (Deleted User)
Date: 04 Dec 2004 11:50 AM
Hi Matt,
you can write a stylesheet that process the xs:include element, loads
the specified schema and makes a copy-of the child nodes of the
top-level xs:schema node (this can work only if that the schema being
included has the same settings of the main one).

In any case, you should not try to merge the schema files that are
referenced using xs:import, as these define elements in a namespace
different from the target namespace of the main schema. Moving those
declaration into the main schema would create a different schema.

Hope this helps,
Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 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.