Child elements and typing by restriction

Hi,

I ran into a problem that can be described as follows:

   * I have a complexType with attributes and child elements
   * I create another complexType that I want to type by 'restriction' with the
     first complexType
   * Then Spy goes bananas, because apparently those child elements are in the
     way

My question 1 now is: If I want to restrict the second complexType by making one
or more inherited child elements "prohibited", what should I do?
My question 2 now is: If I want to restrict the second complexType by giving one
or more inherited attributes a fixed value and NOT touch the child elements,
what should I do?

Regards,
Hans

Received on Sunday, 16 November 2003 11:25:40 UTC