Actions

CodeExample

4d30818ae30fe

From Joomla! Documentation

Get the name of the document

demo.xml

<jdoc>
        <doku kategory="Info">Wiki</doku>
</jdoc>
<?php
 
$xml = JFactory::getXML('demo.xml');
 
echo $xml->name();

Output:

jdoc

Elkuku 11:02, 14 January 2011 (CST) Edit comment