xml - Change Sequence to Choice -


in schema file defined group sequence of possible elements.

<group name="argumentgroup">     <sequence>         <element name="foo" type="double" />         <element name="bar" type="string" />         <element name="baz" type="integer" />     </sequence>  </group> 

i reference group this:

<element name="arguments">     <complextype>         <group ref="my:argumentgroup"/>     </complextype> </element> 

is possible reference group @ other point restrict it's choice instead of sequence. position want reuse allow 1 of elements within.

<element name="argument" minoccurs="0" maxoccurs="1">     <complextype>         <group name="my:argumentgroup">             <! -- somehow change argumentgroup sequence choice here -->         </group>     <complextype> </element> 

no, need define different group.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -