Export Score as MusicXML…
Exports the project (score) in the MusicXML format. This format is widely used by applications for working with scores.
Export a score from Logic Pro as MusicXML — Apple Support
MusicXML is an XML-based music notation file format, supported by many notation and music OCR applications and some music production applications. You can freely redistribute the MusicXML DTDs and XSDs used with MusicXML under the MusicXML Public License.