Beispiel #1
0
 /**
  * Removes a namespace to the current document
  *
  * @param string $prefix The namespace prefix
  * @return void
  */
 function removeNamespace($prefix)
 {
     if ($count = count($this->children)) {
         for ($i = 0; $i < $count; $i++) {
             $this->children[$i]->removeNamespace($prefix);
         }
         return true;
     }
     return parent::removeNamespace($prefix);
 }