- From: Michael Sokolov <msokolov@s...>
- To: Maik St��nberg<maik.stuehrenberg@u...>
- Date: Wed, 22 Jan 2014 14:14:03 -0500
Thanks Maik - I don't think that works since we want to require the
presence of the all collection?
On 01/22/2014 01:00 PM, Maik
Stührenberg wrote:
As a follow up, this may work for you:
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns=" http://relaxng.org/ns/structure/1.0">
<start>
<element name="root">
<oneOrMore>
<choice>
<element name="collection">
<value>all</value>
</element>
<zeroOrMore>
<element name="collection">
<text/>
</element>
</zeroOrMore>
<zeroOrMore>
<text/>
</zeroOrMore>
</choice>
</oneOrMore>
</element>
</start>
</grammar>
Best,
Maik
|
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|