On iOS and Android devices, PlayScore 2 can create MusicXML files from multi-page and PDF scores. The MusicXML exported by PlayScore 2 contains all the music but not text such as lyrics. Dynamic symbols such as p, f and mf are supported.
See ‘MIDI and MusicXML files’ on the How to use page.