- 7.13. Opt_Xml_Element class
7.13.10. setName() - 7.13.9. removeAttribute()
« Previous - 7.13.11. setNamespace()
Next »
7.13.10. setName()
| Status | public |
|---|---|
| Reference | void setName(string $name) |
Sets the new name to the current node. Optionally, we are able to set both tag name and namespace using the XML notation: namespace:name. An example:
$node->setName('opt:name');
- 7.13.10. setName()
7.13. Opt_Xml_Element class - « Previous
7.13.9. removeAttribute() - Next »
7.13.11. setNamespace()