Core_SimpleXMLElement
extends SimpleXMLElement
in package
SimpleXMLElement
Tags
Table of Contents
Methods
- addAttribute() : mixed
- Adds an attribute to the SimpleXML element
- addChild() : mixed
- Adds a child element to the node and returns a SimpleXMLElement of the child
Methods
addAttribute()
Adds an attribute to the SimpleXML element
public
addAttribute(string $name[, string $value = null ][, string $namespace = null ]) : mixed
Parameters
- $name : string
-
attribute name
- $value : string = null
-
attribute value
- $namespace : string = null
-
namespace
addChild()
Adds a child element to the node and returns a SimpleXMLElement of the child
public
addChild(string $name[, string $value = null ][, string $namespace = null ]) : mixed
Parameters
- $name : string
-
element name
- $value : string = null
-
element value
- $namespace : string = null
-
namespace