function getEnumeration( $node )
	{
		if ( ! count( $node->children( SCHEMA_NAMESPACE )->enumeration ) ) return false;

		$result = array();
		foreach ( $node->children( SCHEMA_NAMESPACE )->enumeration as $enumeration )
		{
			if ( empty( $enumeration->attributes()->value ) ) continue;
			$result[] = (string) $enumeration->attributes()->value;
		}

		return $result;
	}
function getEnumeration( $node )
	{
		if ( ! count( $node->children( SCHEMA_NAMESPACE )->enumeration ) ) return false;

		$result = array();
		foreach ( $node->children( SCHEMA_NAMESPACE )->enumeration as $enumeration )
		{
			if ( empty( $enumeration->attributes()->value ) ) continue;
			$result[] = (string) $enumeration->attributes()->value;
		}

		return $result;
	}
function getEnumeration ( $ node ) { if ( ! count ( $ node -> children ( SCHEMA_NAMESPACE ) -> enumeration ) ) return false ; $ result = array ( ) ; foreach ( $ node -> children ( SCHEMA_NAMESPACE ) -> enumeration as $ enumeration ) { if ( empty ( $ enumeration -> attributes ( ) -> value ) ) continue ; $ result [ ] = ( string ) $ enumeration -> attributes ( ) -> value ; } return $ result ; }
Return the enumeration values associated with the node or false
@param SimpleXMLElement $node
@return boolean|array
Return the enumeration values associated with the node or false