W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2003

restrict content to values out of a xml file

From: <Nadine.Koehler@sew-eurodrive.de>
Date: Fri, 28 Feb 2003 08:56:01 +0100
Message-ID: <5E4AB5378591D611876D0090279D07C60278F5E6@exchange>
To: xmlschema-dev@w3.org


when checking a xml-file (with xsd-file),
is there a way to restrict the content of an element to values that are
defined in another xml file, for example i have the element "name" in the
xml file i want to check, and the only names that are allowed are defined
in another xml-file in the element "allowed_names".
should be some kind of enumeration thing, with the difference that i dont't
want to type in the allowed names in the xsd file, but write them in an
extern xml file.
can anyone help???

thanx in advance,
Received on Friday, 28 February 2003 02:58:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:09 UTC