Edit: added keys.
Hi,
I have a xml schema with the following types:
<
<xsd:selector>
supports restricted XPath expressions. Only child
axis is allowed but the XPath expression can begin with .//
so you can use a recursive expression .//entry1
For more detailed info, see the specification: http://www.w3.org/TR/xmlschema-1/#c-selector-xpath
The <xsd:selector>
element contains an XML Path Language (XPath) expression specifying the set of elements across which the values specified by field must be unique so it shouldn't refer to attribute ref
. <xsd:field>
element(s) refer to the values that should be unique within that set so it should refer to attribute ref
(and rest of the fields
to other values, if you need to have an unique combination of values).