Search found 3 matches

by svaens
Thu Aug 26, 2010 2:23 pm
Forum: XML Schemas
Topic: xsd:all too restrictive, what do I use?
Replies: 3
Views: 3659

Re: xsd:all too restrictive, what do I use?

thanks! Good suggestion.
by svaens
Thu Aug 26, 2010 8:19 am
Forum: XML Schemas
Topic: xsd:all too restrictive, what do I use?
Replies: 3
Views: 3659

Re: xsd:all too restrictive, what do I use?

Actually, having posted the question, and continued to research, I came up with what i think is the answer. I can use a <xs:choice> element with an unbounded cardinality. i.e., here I defined my types separately: <xs:complexType name="SequentialLogicType"> <xs:choice maxOccurs="unboun...
by svaens
Thu Aug 26, 2010 1:21 am
Forum: XML Schemas
Topic: xsd:all too restrictive, what do I use?
Replies: 3
Views: 3659

xsd:all too restrictive, what do I use?

Hi all, and thanks in advance for any advice; I am trying to represent some XML in an XSD schema, but having troubles. I need to make a schema that allows for, something which was inspired from ANT, and looks like this; <when result="template.txt"> <and> <equals property="Department&q...