MakeMusic
SmartMusic Finale Garritan MusicXML

Sequences containing only one element. What is the benefit?

Moderator: Michael Good

Sequences containing only one element. What is the benefit?

Postby Matthew.James.Briggs » Mon Dec 08, 2014 9:47 pm

What is the benefit of defining a sequence that contains only one element? For example:

Code: Select all
<xs:sequence>
   <xs:element name="footnote" type="formatted-text"/>
</xs:sequence>

<xs:sequence>
   <xs:element name="level" type="level"/>
</xs:sequence>
“Now that things are so simple, there's so much to do.” - Morton Feldman
http://matthewjamesbriggs.com
User avatar
Matthew.James.Briggs
 
Posts: 23
Joined: May, 2014
Location: Seattle, WA, USA
Reputation: 0
Software Owned:
Max OS X, Finale, Logic Pro, XCode, Xmplify, Sublime Text

Re: Sequences containing only one element. What is the benef

Postby Michael Good » Tue Dec 09, 2014 3:08 pm

The XSD is designed for maximum extensibility. In particular it was designed together with the Open Score Format (OSF), which is defined using the extensibility features of W3C XML schemas. It was 7 years ago but I believe it was designed that way to allow full extensibility, either adding features to or subtracting features from a particular MusicXML profile.
Michael Good
VP of MusicXML Technologies
MakeMusic, Inc.
User avatar
Michael Good
 
Posts: 2197
Joined: March, 2014
Reputation: 0

Who is online

Users browsing this forum: No registered users and 2 guests