Hi,
> My understanding of XML Schema is that <xs:element>s are static components
> of their parent <xs:element>. This maps to Java classes, where elements are
> represented as fields.
>
> Using tags to represent what is actually data (as opposed to field selector)
> would also cause problems with other XML processors such as XSLT.
>
> Feel free to disagree ;-)
I think there's nothing wrong with the idea. There's a lot of cases
when you actually want to express a map-like construct in XML.
I even think it's possible to implement with a combination of XJC
plugin and some runtime things like element wrappers.
Bye,
/lexi