有沒有辦法在.net 2.0中使用Linq to XML?我不確定,如果沒有,我怎麼能重新編碼這 var doc = XDocument.Load("config.xml");
var xVideo = doc
.Element("XML")
.Element("VIDEO");
xVideo.SetElementValue("MAPTEXTURELEVEL",
$dom= new DOMDocument('1.0', 'iso-8859-1');
$dom->loadHTML(' <html><body> <strong>SECOND</strong> </body></html>');
$path = new DOMXPath($dom);
foreach($path->query('body') as $found)