MusicXML 4.1 Draft
< >elements
@attributes
MusicXML 4.1 Draft>Elements>The <bookmark> element

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

NameTypeRequired?(Default)Description
idxs:IDYesThe identifier for this bookmark, unique within this document.
The identifier for this bookmark, unique within this document.
elementxs:NMTOKENNoThe 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.
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.
namexs:tokenNoThe name for this bookmark.
The name for this bookmark.
positionxs:positiveIntegerNoThe 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.

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 example:

<bookmark>