I am not a programmer, so this may or may not make sense, but I would like to be able to link an external data file to an XSD file to specify whether a user belongs to a certain group.
Without linking, the code currently stands as:
<xs:element name="user">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="user1">
<xs:enumeration value="user2">
<xs:enumeration value="user3">
</xs:restriction>
</xs:simpleType>
</xs:element>
When an XML file is created from this, a user must be from one of the values listed.
Instead of listing the various enumeration values in the XSD file, I would like to link to an external file that can be be easily updated to add allowable users to the XSD file.