src/php/Arbit/Xml/Document.php
public static function loadFile( $xmlFile )
    {
        // Check if user exists at all
        if ( !is_file( $xmlFile ) ||
             !is_readable( $xmlFile ) )
        {
            throw new NoSuchFileException( $xmlFile );
        }

        return self::parseXml( $xmlFile );
    }
public static function loadFile( $xmlFile )
    {
        // Check if user exists at all
        if ( !is_file( $xmlFile ) ||
             !is_readable( $xmlFile ) )
        {
            throw new NoSuchFileException( $xmlFile );
        }

        return self::parseXml( $xmlFile );
    }
public static function loadFile ( $ xmlFile ) { // Check if user exists at all if ( ! is_file ( $ xmlFile ) || ! is_readable ( $ xmlFile ) ) { throw new NoSuchFileException ( $ xmlFile ) ; } return self :: parseXml ( $ xmlFile ) ; }
Create XML document from file

@param string $xmlFile
@return Document
Create XML document from file