update : 2015.11.03
php.shukuma.com검색:
|
DOMDocument::saveXML(PHP 5, PHP 7) DOMDocument::saveXML — Dumps the internal XML tree back into a string 설명Creates an XML document from the DOM representation. This function is usually called after building a new dom document from scratch as in the example below. 인수
반환값
Returns the XML, or 오류/예외
변경점
예제
Example #1 Saving a DOM tree into a string
<?php 위 예제의 출력: Saving all the document: <?xml version="1.0"?> <book> <title>This is the title</title> </book> Saving only the title part: <title>This is the title</title> 참고
|