BookmarkAttributes: {
    element: string | null;
    id: string;
    name: string | null;
    position: number | null;
}

Type declaration

  • element: string | null

    The element attribute specifies an element type for a descendant of the next sibling element that is not a <link> or <bookmark> element. When not present, the <bookmark> or <link> element refers to the next sibling element in the MusicXML file.

  • id: string

    The identifier for this bookmark, unique within this document.

  • name: string | null

    The name for this bookmark.

  • position: number | null

    The position attribute specifies the position of the descendant element specified by the element attribute, where the first position is 1. The position attribute is ignored if the element attribute is not present.

    For instance, an element value of "beam" and a position value of "2" defines the <link> or <bookmark> to refer to the second beam descendant of the next sibling element that is not a or element. This is equivalent to an XPath test of [.//beam[2]] done in the context of the sibling element.

Generated using TypeDoc