Example #1
0
 /**
  * Registers the default Environaut namespace on the internal xpath
  * instance of the given DomDocument instance.
  *
  * @param DOMDocument $doc document instance
  */
 public static function registerEnvironautNamespace(DOMDocument $doc)
 {
     $doc->getXpath()->registerNamespace(self::NAMESPACE_PREFIX, self::NAMESPACE_ENVIRONAUT_1_0);
 }