Importing from XML will be the same regardless of what you are importing. Styles, Libraries, and Surveys all follow the same format to import, which is as follows:
Click on the Browse button
Select the file you wish to import (XML)
Click on the Import button
Note: You cannot import an XML file unless it has been initially saved as an XML file. For example, in order to import a survey, you must first export it in XML first.