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


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: Structured attributes

[ Lists Home | Date Index | Thread Index ]
  • From: "Arnold, Curt" <Curt.Arnold@hyprotech.com>
  • To: "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk>
  • Date: Fri, 3 Mar 2000 07:27:51 -0700

>>Henry Thomson wrote:

  <person age='49'>
  <children otherParent='p33'>
   . . .

>>The constraints above are equivalent to allowing 'attribute' children
>>to the 'attribute' element in XML Schema, along with making the
>>attribute name uniqueness constraint cumulative:

How would structured attributes differ from using the <all> construct.  Wouldn't the following schema give you the same effect without the periods and producing non-XML 1.0 compatible documents.

 <element name='person'>
   <element name='name'>
			<element name="first" minOccur="0" type="string"/>
			<element name="middle" minOccur="0" type="string"/>
			<element name="last" minOccur="0" type="string"/>
   		<attribute name='age' type='integer'/>

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


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

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