Velocity Reviews

Velocity Reviews (
-   XML (
-   -   How would you structure this schema element? (

D. Alvarado 04-27-2004 03:28 PM

How would you structure this schema element?
I have a schema element reprsenting an order's product. I want to
include information within the product to state that the product was
delivered, or it was not delivered for the following reasons (there
could be more than one). Does anyone have a suggestion or example for
how I might encapsulate that information within my schema?

Here's the code for the product without the delivery status,

<xs:element name="PRODUCT" minOccurs="1"
<xs:attribute name="id" type="xs:integer"
<xs:element name="QUANTITY"
type="xs:integer" />
<xs:element name="TITLE"
type="xs:string" minOccurs="0" maxOccurs="1" />

Thanks, - Dave

All times are GMT. The time now is 12:32 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.