SimpleXMLElement->addChild()(PHP 5 >= 5.1.3) SimpleXMLElement->addChild() — Adds a child element to the XML node ОписаниеSimpleXMLElement
SimpleXMLElement addChild
( string $name
[, string $value
[, string $namespace
]] )
Adds a child element to the node and returns a SimpleXMLElement of the child. Список параметров
Возвращаемые значенияThe addChild method returns a SimpleXMLElement object representing the child added to the XML node. Примеры
Пример #1 Add attributes and children to a SimpleXML element
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |