|
In the example above, we define a complex type with a
complex contents. The complexContent element signal that we
intend to restrict or extend the content model of a complex
type, and the restriction of integer declares one attribute but
does not introduce any element content.
However, it is
possible to declare the "product" element more compactly,as follows:
|