[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl] use of 'ID' in documents
|
but i think you will find xsd:choice is not allowed by the UBL NDRs Betty Harvey wrote: I am not sure how you would handle this in the spreadsheets but W3C schema is capable of modeling this situation: <xsd:sequence> <xsd:choice minOccurs="1"> <xsd:element ref="BuyersID"/> <xsd:element ref="SellersID"/> </xsd:choice> <xsd:element ref="CopyIndicatory"/> . . . </xsd:sequence> If the choice is optional, i.e., no BuyersID or SellersID, then the "minOccurs" attribute would be set to 0. Betty On Thu, 11 Aug 2005, Tim McGrath wrote: -- regards tim mcgrath phone: +618 93352228 postal: po box 1289 fremantle western australia 6160 DOCUMENT ENGINEERING: Analyzing and Designing Documents for Business Informatics and Web Services http://mitpress.mit.edu/catalog/item/default.asp?sid=632C40AB-4E94-4930-A94E-22FF8CA5641F&ttype=2&tid=10476 |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]