The <work> element

Parent elements: <score-partwise version="4.0">, <score-timewise>

Works are optionally identified by number and title. The <work> element also may indicate a link to the <opus> document that composes multiple scores into a collection.

https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/work/

Hierarchy

  • Work

Implements

Constructors

Properties

attributes: WorkAttributes
contents: WorkContents
schema: {
    attributes: {};
    contents: readonly [{
        type: "optional";
        value: typeof WorkNumber;
    }, {
        type: "optional";
        value: typeof WorkTitle;
    }, {
        type: "optional";
        value: typeof Opus;
    }];
    name: "work";
} = Work.schema

Type declaration

  • Readonly attributes: {}
    • Readonly contents: readonly [{
          type: "optional";
          value: typeof WorkNumber;
      }, {
          type: "optional";
          value: typeof WorkTitle;
      }, {
          type: "optional";
          value: typeof Opus;
      }]
    • Readonly name: "work"
    schema: {
        attributes: {};
        contents: readonly [{
            type: "optional";
            value: typeof WorkNumber;
        }, {
            type: "optional";
            value: typeof WorkTitle;
        }, {
            type: "optional";
            value: typeof Opus;
        }];
        name: "work";
    } = ...

    Type declaration

    • Readonly attributes: {}
      • Readonly contents: readonly [{
            type: "optional";
            value: typeof WorkNumber;
        }, {
            type: "optional";
            value: typeof WorkTitle;
        }, {
            type: "optional";
            value: typeof Opus;
        }]
      • Readonly name: "work"

      Methods

      Generated using TypeDoc