To figure out a way to solve the problem that the model of a system built in a simulation software is needed to simulation in another software, a transfer technique based on XML is proposed in this paper. It can help the users transferring simulation system from PSCAD between other simulation software automatically and conveniently. The import and export of XML data as well as its model transformation are the two parts of the transfer technique. This paper mainly describes the XML data import and export. It is implemented by using libxml2 function library of the Microsoft visual studio platform. First, study the structure and content of the PSCAD document; second, use libxml2 function library to import PSCAD file data; third, export PSCAD file data in the DOM parsing mode. Simulation results show that the import and export process are both correct.