Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Database schema from standards xsd [Thread Next] RE: Database schema from standards xsdTo: "'Boris Kolpackov'" <boris@-------------.---> Date: 4/4/2008 2:49:00 AM > There are ways to specify in XML Schema whether elements > should appear in a particular order or not (xs:sequence vs > xs:all). What you are probably saying here is that if the > schema says that elements can appear in any order, it does > not mean that the actual order of elements as they appear in > XML documents is insignificant to the application logic. What I meant was that if you say <xs:element name="authors"> <xs:complexType> <xs:element name="author" maxOccurs="unbounded"/> </xs:complexType> </xs:element> then there is no way of knowing whether the order of the authors is important. Because in the relational model tuples are unordered, significant order needs to be represented in some other way, for example with integer sequence numbers - which isn't an ideal representation if the sequence also needs to be updateable. Michael Kay From dmarcus@n... Thu Apr 03 14:58:52 2008 Received: from a | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
