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

hi,

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,
nadine
Received on Friday, 28 February 2003 02:58:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT