API16

API16:JXMLElement

From Joomla! Documentation

Defined in

libraries/joomla/utilities/xmlelement.php

Methods

Method name Description
name Get the name of the element. Warning: don't use getName() as it's broken up to php 5.2.3
data LEGACY - Gets the element 'data'.
getAttribute LEGACY - Gets an elements attribute by name.
asFormattedXML Return a well-formed XML string based on SimpleXML element

Importing

jimport( 'joomla.utilities.xmlelement' );



Examples

Code Examples