You can’t edit/view xaml files from downloading a library.
You need to have the original code that was created and then pushed as a library. If you are on enterprise version, your team must be maintaining that code somewhere on local or GiT repo etc from where it can be fetched.
To be able to download any library and edit its xaml files defies the purpose of having libraries:)