Parse XML file to array

I have a problem parsing external XML files to PHP array.
Structure of XML file is like that:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://ift.tt/1tUvnY7;
<svg style="shape-rendering:geometricPrecision;" xml:space="preserve"  xmlns:xlink="http://ift.tt/1hif6GX; xmlns="http://ift.tt/AzhHAh; preserveAspectRatio="xMidYMid meet" viewBox="0 0 530 900" x="0px" y="0px" width="530px"...
Code (markup):
Parse XML file to array

from PHP http://ift.tt/1SOeSxp
via IFTTT
Thanks for your comment
Loading...