public static function fromQName( $name )
	{
		if ( $name instanceof QName )
		{
			$name = "{$name->prefix}:{$name->localName}";
		}
		if ( ! is_string( $name ) )
		{
			throw new \InvalidArgumentException( "$name must be string or a QName instanxe" );
		}

		$types = SchemaTypes::getInstance();
		$attribute = $types->getElement( $name );

		if ( ! $attribute )
		{
			return null;
		}

		$result = new DOMSchemaAttribute();
		error_log( __CLASS__ . " need to populate the DOMSchemaAttribute instance" );
		return $result;
	}
public static function fromQName( $name )
	{
		if ( $name instanceof QName )
		{
			$name = "{$name->prefix}:{$name->localName}";
		}
		if ( ! is_string( $name ) )
		{
			throw new \InvalidArgumentException( "$name must be string or a QName instanxe" );
		}

		$types = SchemaTypes::getInstance();
		$attribute = $types->getElement( $name );

		if ( ! $attribute )
		{
			return null;
		}

		$result = new DOMSchemaAttribute();
		error_log( __CLASS__ . " need to populate the DOMSchemaAttribute instance" );
		return $result;
	}
public static function fromQName ( $ name ) { if ( $ name instanceof QName ) { $ name = "{$name->prefix}:{$name->localName}" ; } if ( ! is_string ( $ name ) ) { throw new \ InvalidArgumentException ( "$name must be string or a QName instanxe" ) ; } $ types = SchemaTypes :: getInstance ( ) ; $ attribute = $ types -> getElement ( $ name ) ; if ( ! $ attribute ) { return null ; } $ result = new DOMSchemaAttribute ( ) ; error_log ( __CLASS__ . " need to populate the DOMSchemaAttribute instance" ) ; return $ result ; }
The qualified name of the attribute
@param QName|string $name
The qualified name of the attribute