public function parseFile($xmlFile)
    {
        // we don't want infinite recursion
        if ($this->isAlreadyParsed($xmlFile)) {
            return;
        }

        return $this->parseString(file_get_contents($xmlFile), $xmlFile);
    }
public function parseFile($xmlFile)
    {
        // we don't want infinite recursion
        if ($this->isAlreadyParsed($xmlFile)) {
            return;
        }

        return $this->parseString(file_get_contents($xmlFile), $xmlFile);
    }
public function parseFile ( $ xmlFile ) { // we don't want infinite recursion if ( $ this -> isAlreadyParsed ( $ xmlFile ) ) { return ; } return $ this -> parseString ( file_get_contents ( $ xmlFile ) , $ xmlFile ) ; }
Parses a XML input file and returns a newly created and
populated Schema structure.

@param  string $xmlFile The input file to parse.
@return Schema populated by <code>xmlFile</code>.
Parses a XML input file and returns a newly created and populated Schema structure .