Ejemplo n.º 1
0
 /**
  * Includes another XML document
  *
  * @param \Xily\Xml $xmlNode
  */
 public function parse_include($xmlNode)
 {
     if (!$xmlNode->hasAttribute('file') || !file_exists($this->strIncludePath . $xmlNode->attribute('file'))) {
         return '';
     }
     return $this->parseTag(\Xily\Xml::create($this->strIncludePath . $xmlNode->attribute('file'), 1));
 }