<?php
$xmlstr = <<<XML
<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<books>
<book>
<title>PHP完全手册</title>
<price>39.8</price>
<introduction>
一本十分畅销的有关phpweb开发的经典之作,作者根据自己丰富经验而著。
</introduction>
<bookstore>
<weihai>新华书店</weihai>
<jinan>科技书店</jinan>
</bookstore>
<book-img type=
"thumbs">php01.jpg</book-img>
</book>
</books>
XML;
?>