Well, unfortunately we have some fairly specific needs to have 
programatic access to the data in a schema.  I think we've worked out 
some of the basic problems (like "includes") but we've still got some 
difficulty with MSV:
   
1) We need to locate a simple example of using the MVS AGM to construct 
an object containing the element/attribute structure including cardinality
2) or, we need to determine how to obtain/capture cardinality while 
using an ExpressionWalker to capture the element/attribute structure

If anybody can help here, I'd be very grateful.
Thanks


James Strachan wrote:

>From: "Brian W. Young" <[EMAIL PROTECTED]>
>  
>
>>Hi,
>>
>>We have a need to parse a schema and basically denormalize it- expand
>>everything out into one document.  For example, if the schema includes 4
>>other schemas and references complex datatypes, we'd like to be able to
>>run this schema thru some engine and get back a document that has been
>>expanded out to include the 4 separate schemas, and the complex
>>datatypes should be expanded out into basic individual types.
>>
>>Any ideas?  Is MSV an option?  I've looked at it but it doesn't look
>>like it does what I want right off the bat, and I'm not sure I could
>>figure it out enough to make something work.
>>    
>>
>
>Could you use XSLT for this? Essentially copying everything through as is
>but just processing the <xsd:include> elements to actually include, in
>place, the referenced schema documents?
>
>Or you could just parse the document as a dom4j Document object then find
>the <include> elements then swap them with the root elements of the included
>documents.
>
>James
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>dom4j-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/dom4j-user
>
>
>  
>





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to