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 Categories: Pages using deprecated source tagsPages with syntax highlighting errorsJXMLElementNameCodeExampleMethodExample
demo.xml
Output: