JSimpleXML
From Joomla! Documentation
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.
JSimpleXML[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | getParser | Get the parser. |
public | importDOM | Get a object from a DOM node. |
public | loadFile | Interprets an XML file into an object. |
public | loadString | Interprets a string of XML into an object. |
public | setParser | Set the parser. |
protected | _characterData | Handler function for the character data within a tag. |
protected | _endElement | Handler function for the end of a tag. |
protected | _getStackLocation | Gets the reference to the current direct parent. |
protected | _handleError | Handles an XML parsing error. |
protected | _parse | Start parsing an XML document. |
protected | _startElement | Handler function for the start of a tag. |
- Defined in libraries/joomla/utilities/simplexml.php
- Extends JObject
Importing[edit]
jimport( 'joomla.utilities.simplexml' );
See also[edit]
- JSimpleXML source code on BitBucket
- Subpackage Utilities
- Other versions of JSimpleXML
User contributed notes[edit]
Code Examples[edit]