The <bookmark> element

Parent elements: <credit>, <measure> (partwise), <part> (timewise)

The <bookmark> element serves as a well-defined target for an incoming simple XLink.

Content

Always empty.

Attributes

Name Type Required? Description
id ID Yes The identifier for this bookmark, unique within this document.
element NMTOKEN No 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.
name token No The name for this bookmark.
position positiveInteger No 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 <link> or <bookmark> element. This is equivalent to an XPath test of [.//beam[2]] done in the context of the sibling element.

Examples

This element is used in the following examples:

<bookmark>