|
update : 2015.11.03
php.shukuma.com검색:
|
DOMNode::removeChild(PHP 5, PHP 7) DOMNode::removeChild — Removes child from list of children 설명This functions removes a child from a list of children. 인수
반환값If the child could be removed the function returns the old child. 오류/예외
예제The following example will delete the chapter element of our XML document. Example #1 Removing a child
<?php위 예제의 출력:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<book id="listing">
<title>My lists</title>
</book>
참고
|