[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Costello, Roger L." <costello@m...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Fri, 26 Jun 2015 16:37:31 +0000

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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member