xfi:fact-has-typed-dimension

xs:boolean=xfi:fact-has-typed-dimension( $item as schema-element(xbrli:item), $dimension as xs:QName)

Last updated on 02-09-2008 at 00:00:00.

Tests whether the fact reports a value for a dimension in either the segment or scenario of the supplied item.

OIM Status

Deprecated - this function may be used in OIM-compatible Formula Rules, but its use is not recommended.

Parameters

Name Type Details
item schema-element(xbrli:item) The item that the dimension is to be reported for.
dimension xs:QName The QName of the dimension being tested for.

Output

Type: xs:boolean

Returns true if the given dimension is a typed dimension and the fact reports a value for it in either segment, scenario.

This function does not raise an exception if the dimension does not apply to the primary item of the fact, but instead returns false if so.

Errors

Code Details
xfie:invalidTypedDimensionQName This error MUST be thrown the dimension QName is not a typed dimension in the discoverable taxonomy set. If the dimension inapplicable to the fact, then false is returned.

Conformance suite

90307 xfi.fact-has-typed-dimension testcase.xml [ download ]

Owners

Name Affiliation Email Start End
Herm Fischer UBMatrix / Mark V Systems fischer@markv.com 01-09-2008 at 00:00:00

Revisions

Name On Details
Herm Fischer 02-09-2008 at 00:00:00 Created the function definition.