Re: restrict content to values out of a xml file

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 UTC