JXMLElement
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JXMLElement[edit]
Description[edit]
Methods[edit]
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[edit]
jimport( 'joomla.utilities.xmlelement' );
See also[edit]
- JXMLElement source code on BitBucket
- Subpackage Utilities
- Other versions of JXMLElement
User contributed notes[edit]
Code Examples[edit]