public static function ProcessFormulaResource( $taxonomy, $roleUri, $linkbaseHref, $label, $node, $domNode, $log )
 	{
 		$localName = $domNode->localName;

		if ( ! isset( Formulas::$formulaElements[ $localName ] ) )
		{
			return false;
		}

 		if ( ! property_exists( $taxonomy->context, "formulaResources" ) )
		{
			$taxonomy->context->formulaResources = array();
		}

		// Construct a name for the class that will handle the element
		// resource using definitions in the static array $formulaElements
		$filterName = '\\XBRL\\Formulas\\Resources\\' .
			Formulas::$formulaElements[ $localName ]['part'] .
			( isset( Formulas::$formulaElements[ $localName ]['className'] )
				? Formulas::$formulaElements[ $localName ]['className']
				: ucfirst( $localName )
			);

		/**
		 * @var Resource $filter
		 */
		$filter = new $filterName;
		$resource = $filter->process( $localName, $taxonomy, $roleUri, $linkbaseHref, $label, $node, $domNode, $log );

		return $resource;
 	}