<?php //构造SimpleXMLElement对象 $xml = ...