tags:

views:

32

answers:

1

In my XSD file I have an alement 'row' of type 'rowType'.

When places within another element 'frozen', I would like to restrict the type of 'row' to a subset of 'rowType's allowable values.

Does anyone know how to do this?

Thanks.

+1  A: 

You could use the restriction and place it inside a new complex type derived from rowType. Then add a row element to the frozen element which is a type of the new complex type.

Andrew Cox
very nice, thank you for the help.
Alex Baranosky