Greetings

I have an XML doc which I'd like to convert into a schema, but the tools
I am using (VS.NET) won't do it as it has the same element as both a child
and parent see below:

<group name="root">
<group name="Child1">
<Element/>
<Element/>
</group>
<group name="Child2">
<Element/>
<Element/>
</group>
</group>

The idea being to be able to create a type of folder based system like a
filesystem has. Now if I'm barking up the wrong tree with this structure,
please advise. I'd be most interested if this is just a limitation of my
software or basically bad design!

I have yet another example although slightly different, and that is I wish
to use the same element in different parent elements eg:

<Element1>
<Info name="Info1"/>
<Info name="Info2"/>
<Element2>
<Info name="Info2"/>

</Element2>
</Element1>

I wouldn't have thought this was a problem, but again the software doesn't
like it.