OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] <xs:group> name versus id attributes

[ Lists Home | Date Index | Thread Index ]

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS