OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Generating Trees from XML Schema

[ Lists Home | Date Index | Thread Index ]

You want to enumerate all possible productions? So an element with three 
optional attributes would have eight (2^n) productions? That's a long list!

Bob Foster
http://www.xmlbuddy.com/

Bullard, Claude L (Len) wrote:
> o A two level list of all possible productions.
> o To enable the user to assign an ID to each production.
> 
> For some schemas that will be a very long list.  The 
> meaningfulness is a real problem.
> 
> len
> 
> From: Bob Foster [mailto:bob@objfac.com]
> 
> Just out of curiosity, what would you use it for? Some elements and 
> attributes aren't meaningful "regardless of structure".
> 
> Also, a couple of other people seem to understand what you want the 
> output would look like (though they appear to have different 
> understandings), but I don't. What is it, two lists, one titled 
> "Elements" and the other "Attributes"? Are there attributes listed for 
> each element? If so, and an element had an <anyAttribute>, would all the 
> applicable attributes be listed, as well?






 

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

Copyright 2001 XML.org. This site is hosted by OASIS