Hi, Mike
The issue is that all elements aren't used.  A schema generated by the
architecture tool I'm using may contain 100 or even 1000 elements but
only 10 elements are actually used.  So both mandatory & optional
elements may be unused.  Much like in an X12 or EDIFACT message only a
few elements are actually used. An important step in the process of
creating a new message is the creation of a mapping document which in
effect provides a list of the required elements since mapping
documents don't usually list every unused element.  I'd like to use
this subset of elements to provide a documented and repeatable process
for generating new pruned schemas as the messages change during
development.  Doing this manually is tedious at best and error prone
at worst.

It is a rather generic XML Schema issue but given the increasing use
of XML for exchanging business transactions I figured this might be a
good site to pose the question.  My work for the last two years has
been almost exclusively XML based.  It wouldn't bother me a bit if I
never saw another X12 formatted message.

Regards, Jim Divoky


--- In [email protected], Mike Rawlins <[EMAIL PROTECTED]> wrote:
>
> Hi Jim,
> 
> No, I don't know of one.  I'm not sure what you mean by supplying a
list of required elements.  Every element in a schema is defined
either implicitly or explicitly with a minOccurs attribute.  I guess
you're wanting to go beyond that and remove just a subset of those
with minOccurs of 0?  Or, stated differently, define a subset that has
minOccurs of 0 and that you want to retain and remove the rest?
> 
> At any rate, this is a pretty generic XML schema kind of question. 
You might have better luck asking it on xmldev or one of the other XML
lists.






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/OIFolB/TM
--------------------------------------------------------------------~-> 

.  
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
Access the list online at:  http://groups.yahoo.com/group/EDI-L
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to