我有這樣的代碼(大腳本的一部分):PHP
flashvars.xmlSource = "datasource.xml";
datasource.xml樣子:
<?xml version="1.0" encoding="utf-8"?>
<Object>
<Contents>
<Source="address" Title="title"></Source>
<Description><h1>New hot Features</h1><p>The all new Piecemaker comes with lots of new features, making it even more slick.</p><p>Just to mention a few - you can now specify unlimited transition styles, include your own SWF and Video files, add hyperlinks to images and info texts with all special characters.</p><p>We also impoved the navigation and the animation with animated shadows and pixel-perfect transitions.</p></Description>
(...)
</Contents>
</Object>
我想生成datasource.xml動態使用foreach循環。
我剛剛更改的文件擴展名.PHP但是這並不是那麼容易;)
任何想法?