The <relation> element

Parent element: <identification>

The <relation> element describes a related resource for the music that is encoded. This is similar to the Dublin Core relation element.

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

Hierarchy

  • Relation

Implements

Constructors

Properties

attributes: RelationAttributes
schema: {
    attributes: {
        type: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }];
    name: "relation";
} = Relation.schema

Type declaration

  • Readonly attributes: {
        type: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    }
    • Readonly type: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }]
  • Readonly name: "relation"
schema: {
    attributes: {
        type: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }];
    name: "relation";
} = ...

Type declaration

  • Readonly attributes: {
        type: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    }
    • Readonly type: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }]
  • Readonly name: "relation"

Methods

Generated using TypeDoc