Actions

API15

Difference between revisions of "JSimpleXML"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JSimpleXML}} ===Defined in=== ...)
 
 
Line 30: Line 30:
 
|Set the parser
 
|Set the parser
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.utilities.simplexml' );</source>
 
<source lang="php">jimport( 'joomla.utilities.simplexml' );</source>

Latest revision as of 11:40, 25 March 2010

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:JSimpleXML

Contents

Defined in

libraries/joomla/utilities/simplexml.php

Methods

Method name Description
__construct Constructor.
loadString Interprets a string of XML into an object
loadFile Interprets an XML file into an object
importDOM Get a JSimpleXMLElement object from a DOM node.
getParser Get the parser
setParser Set the parser

Importing

jimport( 'joomla.utilities.simplexml' );

[Edit See Also] SeeAlso:JSimpleXML

Examples

<CodeExamplesForm />