The <part-link> element

Parent element: <score-part>

The <part-link> element allows MusicXML data for both score and parts to be contained within a single compressed MusicXML file. It links a <score-part> from a score document to MusicXML documents that contain parts data. In the case of a single compressed MusicXML file, the link href values are paths that are relative to the root folder of the zip file.

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

Hierarchy

  • PartLink

Implements

Constructors

Properties

attributes: PartLinkAttributes
schema: {
    attributes: {
        xlink:actuate: {
            type: "optional";
            value: {
                choices: readonly ["none", "onRequest", "onLoad", "other"];
                type: "choices";
            };
        };
        xlink:href: {
            type: "required";
            value: {
                type: "string";
            };
        };
        xlink:role: {
            type: "optional";
            value: {
                type: "string";
            };
        };
        xlink:show: {
            type: "optional";
            value: {
                choices: readonly ["none", "new", "replace", "embed", "other"];
                type: "choices";
            };
        };
        xlink:title: {
            type: "optional";
            value: {
                type: "string";
            };
        };
        xlink:type: {
            type: "optional";
            value: {
                choices: readonly ["simple"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "instrument-links";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof InstrumentLink;
        };
    }, {
        label: "group-links";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof GroupLink;
        };
    }];
    name: "part-link";
} = PartLink.schema

Type declaration

  • Readonly attributes: {
        xlink:actuate: {
            type: "optional";
            value: {
                choices: readonly ["none", "onRequest", "onLoad", "other"];
                type: "choices";
            };
        };
        xlink:href: {
            type: "required";
            value: {
                type: "string";
            };
        };
        xlink:role: {
            type: "optional";
            value: {
                type: "string";
            };
        };
        xlink:show: {
            type: "optional";
            value: {
                choices: readonly ["none", "new", "replace", "embed", "other"];
                type: "choices";
            };
        };
        xlink:title: {
            type: "optional";
            value: {
                type: "string";
            };
        };
        xlink:type: {
            type: "optional";
            value: {
                choices: readonly ["simple"];
                type: "choices";
            };
        };
    }
    • Readonly xlink:actuate: {
          type: "optional";
          value: {
              choices: readonly ["none", "onRequest", "onLoad", "other"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["none", "onRequest", "onLoad", "other"];
            type: "choices";
        }
        • Readonly choices: readonly ["none", "onRequest", "onLoad", "other"]
        • Readonly type: "choices"
    • Readonly xlink:href: {
          type: "required";
          value: {
              type: "string";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
    • Readonly xlink:role: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
    • Readonly xlink:show: {
          type: "optional";
          value: {
              choices: readonly ["none", "new", "replace", "embed", "other"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["none", "new", "replace", "embed", "other"];
            type: "choices";
        }
        • Readonly choices: readonly ["none", "new", "replace", "embed", "other"]
        • Readonly type: "choices"
    • Readonly xlink:title: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
    • Readonly xlink:type: {
          type: "optional";
          value: {
              choices: readonly ["simple"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["simple"];
            type: "choices";
        }
        • Readonly choices: readonly ["simple"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "instrument-links";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof InstrumentLink;
        };
    }, {
        label: "group-links";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof GroupLink;
        };
    }]
  • Readonly name: "part-link"
schema: {
    attributes: {
        xlink:actuate: {
            type: "optional";
            value: {
                choices: readonly ["none", "onRequest", "onLoad", "other"];
                type: "choices";
            };
        };
        xlink:href: {
            type: "required";
            value: {
                type: "string";
            };
        };
        xlink:role: {
            type: "optional";
            value: {
                type: "string";
            };
        };
        xlink:show: {
            type: "optional";
            value: {
                choices: readonly ["none", "new", "replace", "embed", "other"];
                type: "choices";
            };
        };
        xlink:title: {
            type: "optional";
            value: {
                type: "string";
            };
        };
        xlink:type: {
            type: "optional";
            value: {
                choices: readonly ["simple"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "instrument-links";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof InstrumentLink;
        };
    }, {
        label: "group-links";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof GroupLink;
        };
    }];
    name: "part-link";
} = ...

Type declaration

  • Readonly attributes: {
        xlink:actuate: {
            type: "optional";
            value: {
                choices: readonly ["none", "onRequest", "onLoad", "other"];
                type: "choices";
            };
        };
        xlink:href: {
            type: "required";
            value: {
                type: "string";
            };
        };
        xlink:role: {
            type: "optional";
            value: {
                type: "string";
            };
        };
        xlink:show: {
            type: "optional";
            value: {
                choices: readonly ["none", "new", "replace", "embed", "other"];
                type: "choices";
            };
        };
        xlink:title: {
            type: "optional";
            value: {
                type: "string";
            };
        };
        xlink:type: {
            type: "optional";
            value: {
                choices: readonly ["simple"];
                type: "choices";
            };
        };
    }
    • Readonly xlink:actuate: {
          type: "optional";
          value: {
              choices: readonly ["none", "onRequest", "onLoad", "other"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["none", "onRequest", "onLoad", "other"];
            type: "choices";
        }
        • Readonly choices: readonly ["none", "onRequest", "onLoad", "other"]
        • Readonly type: "choices"
    • Readonly xlink:href: {
          type: "required";
          value: {
              type: "string";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
    • Readonly xlink:role: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
    • Readonly xlink:show: {
          type: "optional";
          value: {
              choices: readonly ["none", "new", "replace", "embed", "other"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["none", "new", "replace", "embed", "other"];
            type: "choices";
        }
        • Readonly choices: readonly ["none", "new", "replace", "embed", "other"]
        • Readonly type: "choices"
    • Readonly xlink:title: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
    • Readonly xlink:type: {
          type: "optional";
          value: {
              choices: readonly ["simple"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["simple"];
            type: "choices";
        }
        • Readonly choices: readonly ["simple"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "instrument-links";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof InstrumentLink;
        };
    }, {
        label: "group-links";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof GroupLink;
        };
    }]
  • Readonly name: "part-link"

Methods

  • Gets

    Returns null | "none" | "onRequest" | "onLoad" | "other"

  • Gets

    Returns null | "replace" | "none" | "other" | "new" | "embed"

Generated using TypeDoc