Zend PHP 5.3 Certification Exam


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
  • Question 27/36

    Consider the following XML file:

    
    <?xml version="1.0" encoding="ISO-8859-1" ?>   
     <!DOCTYPE html   
          PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"   
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   
     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">   
       <head>   
         <title> SimpleXML Example</title>   
       </head>   
       <body>   
         <h1>   
          Please go <a href="http://www.ucertify.com">http://www.ucertify.com</a>   
              
         </h1>   
       </body>   
     </html>
    
    Which of the following statements will display the HREF attribute on the anchor tag if the SimpleXML object is $sxml?