Here is a simple one-measure guitar part example that we will use to illustrate the basic MusicXML tablature features, using the standard 6-string guitar tuning:
The fret and string information needed to generate tablature for guitar and other stringed instruments is handled the same way as technical indications for other instruments, such as piano fingerings and violin bowings. The technical element contains these types of notations, and two of its component elements represent the note’s fret and string. Frets are numbered starting at 0 for the open string. Strings are numbered starting at 1 for the highest string on the instrument.
The fret and string for first note in this example are represented using:
<technical> <string>3</string> <fret>5</fret> </technical>