Class TXmlElement
TXmlElement class.
TXmlElement represents an XML element node. You can obtain its tag-name, attributes, text between the opening and closing tags via the TagName, Attributes, and Value properties, respectively. You can also retrieve its parent and child elements by Parent and Elements properties, respectively.
TBD: xpath
- TComponent
-
TXmlElement
Direct known subclasses
TXmlDocument
Package: System\Xml
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Xml/TXmlDocument.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Xml/TXmlDocument.php
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
#
__toString( )
Magic-method override. Called whenever this element is used as a string. $element = new TXmlElement('tag'); echo $element; or $element = new TXmlElement('tag'); $xml = (string)$element; |
GLOBAL_RAISE_EVENT_LISTENER
|