Loading ...
Sorry, an error occurred while loading the content.

concurrence conundrum

Expand Messages
  • Aaron
    Hi all, I am trying to get concurrence to work for me. Here is the scenerio: I have a measure element with a mode attribute. when the the mode attribute is
    Message 1 of 1 , Aug 1, 2005
    • 0 Attachment
      Hi all,

      I am trying to get concurrence to work for me.

      Here is the scenerio:

      I have a measure element with a mode attribute.
      when the the mode attribute is repeat then the repeattype attribute is required.

      when the mode attribut is chord then the chord attribute is required, etc.

      I am just not getting this to work, here is the whole measure element as I have it so far:
      Thanks
      Aaron
      <define name="measure">

      <element name="measure">
      <optional><ref name="common" /></optional>
      <optional>
      <attribute name="barline">
      <choice>
      <value>double</value>
      <value>single</value>
      <value>final</value>
      <value>dotteddouble</value>
      </choice>
      </attribute>
      </optional>

      <optional>
      <attribute name="mark">
      <data type="NCName"/>
      </attribute>
      </optional>
      <optional>
      <attribute name="number">
      <data type="integer"/>
      </attribute>
      </optional>

      <optional>
      <attribute name="value">
      <data type="integer"/>
      </attribute>
      </optional>

      <zeroOrMore>
      <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="accent"/>
      <ref name="staccato"/>
      <ref name="staccatissimo " />
      <ref name="glissando"/>
      <ref name="markup"/>
      <ref name="emphasis"/>
      <ref name="prall"/>
      <ref name=" prallup" />
      <ref name="pralldown " />
      <ref name="lineprall " />
      <ref name="prallprall " />
      <ref name="upprall " />
      <ref name=" downprall" />
      <ref name="trill"/>
      <ref name="turn"/>
      <ref name=" reverseturn" />
      <ref name="multrest"/>
      <ref name="slurbegin"/>
      <ref name="slurend"/>
      <ref name="tuplet"/>
      <ref name="slurbegin" />
      <ref name="tenuto " />
      <ref name="portato " />
      <ref name=" upbow" />
      <ref name="downbow " />
      <ref name="flagolet " />
      <ref name="thumb " />
      <ref name="rtoe " />
      <ref name="ltoe " />
      <ref name="mordent " />
      <ref name="upmordent " />
      <ref name=" downmordent" />
      <ref name=" fermata" />
      <ref name=" longfermata" />
      <ref name="signumcongraphicuentime " />
      <ref name="segno " />
      <ref name="marcato"/>
      <ref name=" open" />
      <ref name="stopped" />
      <ref name=" pizzacato" />
      <ref name=" arco" />
      <ref name="legno" />
      <ref name="coda " />
      <ref name="varcoda " />
      <ref name="grace"/>
      <ref name="acciaccatura"/>
      <ref name="appogiatura"/>
      <ref name="beaming" />
      </optional>
      </choice>
      </zeroOrMore>
      </element>

      <element name="measure">
      <attribute name="mode">
      <attribute name="chord">
      <optional>
      <choice>
      <value>lilypond</value>
      <value>jazz</value>
      <value>analysis</value>
      <value>musicxml</value>
      <value>niff</value>
      <value>wedel</value>
      <value>chordtones</value>
      </choice>
      </optional>
      </attribute>
      </attribute>
      </element>

      <element name="measure">
      <attribute name="mode"><optional>
      <attribute name="repeattype">
      <choice>
      <value>repeatbegin</value>
      <value>repeatend</value>
      <value>firstendingbegin</value>
      <value>firstendingend</value>
      <value>secondendingbegin</value>
      <value>secondendingend</value>
      </choice>
      </attribute>
      </optional>
      </attribute>
      </element>

      <!--here I need to write out in plain text what I want to have happen here -->
      <element name="measure">
      <attribute name="mode">
      <attribute name="transpose">
      <attribute name="newkey"> </attribute>
      <attribute name="interval"> </attribute>
      <attribute name="move"><zeroOrMore><value>up</value><value> down</value></zeroOrMore></attribute></attribute>
      </attribute>
      </element>
      <element name="measure">
      <attribute name="mode"><optional><zeroOrMore>
      <attribute name="partial"></attribute>
      <attribute name="duration"></attribute>
      <attribute name="note">

      </attribute></zeroOrMore></optional>
      </attribute>

      </element>
      <!--This element/attribute needs to be developed -->

      <element name="measure"><attribute name="mode"><attribute name="figuredbass"></attribute></attribute></element> -->


      </define>
    Your message has been successfully submitted and would be delivered to recipients shortly.