-1
嘿,我正在寻找一种方法来替换另一个元素值。我想到的是,当一个变量等于“刺客信条:兄弟会”时,这个值被一个新的替代。我的项目是用simplexml(添加,删除)开发的,但DOM也很赞赏。感谢您的帮助!用XML替换元素值php
我的XML是
<Game type="adventure">
<TITLE>Assassin's Creed: Brotherhood</TITLE>
<PUBLISHER>Ubisoft</PUBLISHER>
</Game>
的[替换字符串在PHP变种 - XML]可能重复(HTTP:// stackoverflow.com/questions/4632548/replace-string-with-var-in-php-xml) – 2011-01-09 19:41:38