Lists Home |
Date Index |
For the record, section 2.8 of the primer makes the
same error in respect of attribute groups.
So should I then assume that this example from the XML Schema
Primer is in error?
should be defined as:
On 6/23/06, Dennis
All the schema elements have an optional id attribute, which is
standard ID-type value (basically a non-namespaced name that can
to reference the element, using values of type IDREF, anywhere
the document). Even though schema includes the id attribute on
elements AFAIK it doesn't define any use for the id. The name
is what defines the name by which the group will be referenced,
namespace of that name controlled by the schema targetNamespace
Anne Thomas Manes
> Can someone explain to me the difference between the name and
> attributes in the <xs:group> element?