<?php
/**
 * ****************************************************************
 * Project:      *
 * Copyright:    Copyright (c) 2007
 * Company:      Thomas Niemann
 * ****************************************************************
 * Workfile:     XMLHelper.php
 * ****************************************************************
 * Description:   
 * ***************************************************************/
class XMLHelper {
	private $xmlFile;
	private $xsdFile;
	/*****************************************************************
	 * constructor
	 *****************************************************************/
	public function __construct($_xmlFile) {
		$this->xmlFile = $_xmlFile;
	}
	/*****************************************************************
	 * gets content from xml
	 *****************************************************************/
	public function getContent() {
		if (file_exists($this->xmlFile)) {						
			// for standard environments
			$xmlContent = new XMLElement(file_get_contents($this->xmlFile));
			return $xmlContent;
		} else {
			return false;
		}
	}
}
?>