I would like to assign an attribute to EACH element I have in my XSD.
Example:
mySchema.xsd
to each of these elements:
<xs:element name="description" type="xs:string" />
<xs:element name="benefits" type="xs:string"/>
<xs:element name="best_practices" type="xs:string"/>
<xs:element name="example" type="xs:anyURI"/>
I would like that they have this attribute:
<xs:attribute name="label" type="xs:string"/>
In this example, the elements are only 4, but in my case there are many many elements,...any suggestion?
Thanks!