XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
A design question for you please

Hi Folks,

 

I’d like for you to put on your designer hat please.

 

Suppose I have an XML schema document A that imports B and C. Both B and C import D. And D imports A.

 

 

I want to create a tool. I feed into the tool the main schema document (e.g., schema document A) and it outputs a sequence of schema documents:

 

<xs:schema> ... A ... </xs:schema>
<xs:schema> ... B ... </xs:schema>
<xs:schema> ... C ... </xs:schema>
<xs:schema> ... D ... </xs:schema>

 

However, I want the tool to also output the filename of each schema document. So, should the tool output a sequence of (filename, schema document) pairs?

 

A.xsd

<xs:schema> ... A ... </xs:schema>

B.xsd
<xs:schema> ... B ... </xs:schema>

C.xsd
<xs:schema> ... C ... </xs:schema>

D.xsd
<xs:schema> ... D ... </xs:schema>

 

Is that how you would do it?

 

/Roger



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS