Actions

API16

JXMLElement

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] Description:JXMLElement

Contents

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' );

[Edit See Also] SeeAlso:JXMLElement

Examples

<CodeExamplesForm />