时间:2021-07-01 10:21:17 帮助过:20人阅读
savexml()函数:将内部xml文档放入一个字符串;
For Example:
"test.xml"
<note><to>Toveto><from>Janifrom><heading>Reminderheading><body>Don't forget me this Weekend!body>note>$xmlDoc=new DOMDocument();
$xmlDoc->load("test.xml");
print $xmlDoc->saveXML();
OUTPUT:
Tove Jani Reminder Don't forget me this weekend!
').addClass('pre-numbering').hide();
$(this).addClass('has-numbering').parent().append($numbering);
for (i = 1; i <= lines; i++) {
$numbering.append($('').text(i));
};
$numbering.fadeIn(1700);
});
});
以上就介绍了PHP savexml函数,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。