0
我想弄清楚如何在這裏添加這個;simplexml添加子非屬性信息
<tech name="level 0" prereq="0" id="7" null="null">
<meta fuelx="1" energyx="1" cost="100" income="11">Description goes here</meta>
</tech>
已經存在的xml文件。
我已經得到了第一個,但我不知道如何添加信息之間的&。
我甚至在你的問題中看不到*&*。 – quickshiftin