XSD element template validation

Hi all,

I have xml in which there are elements that all have an exact set of attributes: name, beanid, type, description. e.g,

<state name="il" beanid="il" type="il" description="country">

<properties>

<population variable="" type="" mandatory="false" direction="in"/>

<flag variable="" type="" mandatory="true" direction="out"/>

</properties>

</state>

i would like 'properties' element to be able to contain any element which has name, beanid, type, description attributes.

How can I create an xsd element validation for an element structure without specifying the element name?

[985 byte] By [asaf.lahava] at [2007-11-27 4:13:22]
# 1
It is not possible. Though the <any> element would permit the occurrence of elements with any name, it is not possible to specify rules on the attributes of these elements.
prgguya at 2007-7-12 9:19:35 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...