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

Re: restrict content to values out of a xml file

From: <Stefan.Wachter@gmx.de>
Date: Fri, 28 Feb 2003 11:01:29 +0100 (MET)
To: Nadine.Koehler@sew-eurodrive.de
Cc: xmlschema-dev@w3.org
Message-ID: <5201.1046426489@www52.gmx.net>

Maybe a solution completly based on XSLT is also an option for you:

Transform the original schema and insert the enumeration values based on the
information provided by the "value file".

--Stefan


> 
> hi,
> thanx for the answer! 
> how can put that XIncludes thing into the enumeration? i couldnīt find any
> examples in the net.
> i have a structure like this, now what do i have to write into the
> enumeration tags?:
> 
> <xs:element name="bla">
>      <xs:simpleType>
>          <xs:restriction base="xs:string">
>                 <xs:enumeration value="???"/>
>           </xs:restriction>
>      </xs:simpleType>
> </xs:element>
> 
Received on Friday, 28 February 2003 05:02:01 GMT

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