OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: [relax-ng] RELAX NG 2.0 ideas


<min count="3">
  <element name="product"><text/></element>
</min>

<max count="3">
  <element name="product"><text/></element>
</max>

<min count="2">
 <max count="10">
  <element name="product"><text/></element>
 </max>
</min>

<zeroOrMore>
 <max count="7">
  <element name="product"><text/></element>
 </max>
</zeroOrMore>

<oneOrMore>
 <max count="6">
  <element name="product"><text/></element>
 </max>
</oneOrMore>

Or...when we know the min:

<zeroOrMore max="7">
 <element name="product"><text/></element>
</zeroOrMore>

<oneOrMore max="7">
 <element name="product"><text/></element>
</oneOrMore>


James Clark wrote:
> 1. Repeat M-N times (issue 11); I think this is particularly useful with
> regexes, so if we add regexes along the lines that John C proposes, then I
> think the balance tips towards these



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC