Hi all,
I need some help, this is where I am getting confused.

I have a schema with the following:

<element name="tuplet">
             <text/>
            <choice>
            <optional>
            <ref name="beam"/>
            <ref name="breathe"/>
            <ref name="crescbegin"/>
            <ref name="crescend"/>
            <ref name="dimbegin"/>
            <ref name="dimend"/>
            <ref name="dynamic"/>
            <ref name="glissando"/>
            <ref name="markup"/>
            <ref name="emphasis"/>
            <ref name="prall"/>
            <ref name="turn"/>
            <ref name="multrest"/>
            <ref name="slurbegin"/>
            <ref name="slurend"/>
            <ref name="staccato"/>
            <ref name="slurbegin" />
            <ref name="slurend" />
            <ref name="grace"/>
            <ref name="trill"/>
            <ref name="acciaccatura"/>
            <ref name="beaming" />
            </optional>
            </choice>
            <attribute name="bracket">
            <data type="integer"/>
            </attribute>
            <attribute name="label">
            <data type="integer"/>
            </attribute>
            <attribute name="type">
            <data type="integer"/>
            </attribute>
            </element>
        </define>

I have played with choice, oneormore and optional to no avail.

The behaviour I want is that within the tuplet element all the referenced elements can appear in any order as many times or not at all.

What I get when I make a sample doc is that it says the required element beam is missing.
I can't add other elements or another beam.
Could someone please help me staighten this out.

thanks
Aaron




YAHOO! GROUPS LINKS




Reply via email to