<?php $xmlContent = <<<XML <ol> <li> <a href="Untitled-1-1.xhtml">1</a> </li> <li> <a href="Untitled-1-2.xhtml"/> </li> </ol> XML; $xml = new \SimpleXMLElement($xmlContent); echo $xml->li[0]->a['href'];
You have javascript disabled. You will not be able to edit any code.