Need Help

Hi,

I am not sure whether this is the right place to ask
such questions, but nevertheless, hope someone can
help me with this.

I am currently on a reverse-engineering project to
derive a schema from an existing xml document. In the
course of doing so, I encountered a situation whereby
the name of the element is variable but the type is
fixed. For example,

<Commands>
   <Command1 type="NONE" class="A">
       <ATT_TREE/>
       <CONST_TREE/>
   </Command1>
   <Command2 type="ABC" class="B">
       <ATT_TREE/>
       <CONST_TREE/>
   </Command1>
</Commands>

As illustrated, the child elements of <Commands> all
have the same attributes and elements, however the
name of the element is decided by the user at random.

How can I write my schema for this, allowing the names
to be dynamic, yet still restricting that all the
child elements are of the same type?

Appreciate any help and advice on this. Thanks a lot.

Regards,
Lee


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

Received on Tuesday, 15 June 2004 20:52:32 UTC