Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   XML (http://www.velocityreviews.com/forums/f32-xml.html)
-   -   distinct multiple choice in xml schema (http://www.velocityreviews.com/forums/t549313-distinct-multiple-choice-in-xml-schema.html)

zonsh 11-04-2007 08:17 PM

distinct multiple choice in xml schema
 
Hi there,

I am looking everywhere to find a solution where I can add a type in
xml schema that will restrict the xml author to select multiple
options from a list without repeating 1 option more than once.

Do you have a solution?

Thanks a lot,
David


Pavel Lepin 11-05-2007 09:07 AM

Re: distinct multiple choice in xml schema
 

zonsh <david.zonsh@gmail.com> wrote in
<1194207420.752607.244640@22g2000hsm.googlegroups. com>:
> I am looking everywhere to find a solution where I can add
> a type in xml schema that will restrict the xml author to
> select multiple options from a list without repeating 1
> option more than once.


<xs:complexType name="foobarType">
<xs:sequence>
<xs:element name="foo" minOccurs="0" maxOccurs="1"/>
<xs:element name="bar" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>

--
"I can't help but wonder if you... don't know a hell of a
lot more about practically every subject than Solomon ever
did."


All times are GMT. The time now is 06:08 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57