[Home] [By Thread] [By Date] [Recent Entries]


Hi Anne,

All the schema elements have an optional id attribute, which is just a 
standard ID-type value (basically a non-namespaced name that can be used 
to reference the element, using values of type IDREF, anywhere within 
the document). Even though schema includes the id attribute on all the 
elements AFAIK it doesn't define any use for the id. The name attribute 
is what defines the name by which the group will be referenced, with the 
namespace of that name controlled by the schema targetNamespace attribute.

  - Dennis

Anne Thomas Manes wrote:
> Can someone explain to me the difference between the name and id 
> attributes in the <xs:group> element?
>
> Thanks,
> Anne

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member