For example, a note with a tie at the end of a first ending should have the element with a type of start precede the element with a type of stop.
When multiple elements with the same tag are used within the same note, their order within the MusicXML document should match the musical score order. This can be used to represent ties into or out of repeated sections or codas. Ties that are visually attached to only one note, other than undamped ties, should be specified with two elements on the same note, first type='start' then type='stop'.
Ties that indicate that an instrument should be undamped are specified with a single element with type='let-ring'. It is not recommended to use elements to join two notes with enharmonically inequivalent pitches. This can also be done if the two notes being tied are enharmonically equivalent, but have different step values.
Ties that join two notes of the same pitch together should be represented with a element on the first note with type='start' and a element on the second note with type='stop'.