API17:JXMLElement
From Joomla! Documentation
JXMLElement
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | asFormattedXML | Return a well-formed XML string based on SimpleXML element. |
| public | data | Legacy method to get the element data. |
| public | getAttribute | Legacy method gets an elements attribute by name. |
| public | name | Get the name of the element. |
- Defined in libraries/joomla/utilities/xmlelement.php
Importing
jimport( 'joomla.utilities.xmlelement' );
See also
JXMLElement source code on BitBucket
Subpackage Utilities- Other versions of JXMLElement
User contributed notes
Code Examples