xfi:role-definition

xs:string?=xfi:role-definition( $role as xs:string)

Last updated on 18-06-2013 at 14:00:00Z.

Returns a string containing the definition of the role, or an empty sequence if none.

OIM Status

Supported

Parameters

Name Type Details
role xs:string The subject role.

Output

Type: xs:string?

Returns the definition (if found) or an empty sequence (if not found, or if no definition specified). If multiple roleTypes for this role are present in the DTS any one is returned at the discretion of the implementation.

Conformance suite

90505 xfi.role-definition 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
Richard Ashby CoreFiling rna@corefiling.com 18-06-2013 at 14:00:00Z

Revisions

Name On Details
Herm Fischer 12-12-2008 at 00:00:00 Created the function definition.
Herm Fischer 12-12-2009 at 00:00:00 Removed reference to dynamically loaded instances from the xbrlinstance input and clarified description.
Herm Fischer 07-09-2010 at 00:00:00 Incorporated feedback from Hitoshi Okumura. Changed output types to "?" for empty sequence result.
Herm Fischer 09-09-2010 at 00:00:00 Changed role URI to string for cast-less coding and to be similar to fn:QName's $paramURI, an xs:string.
Herm Fischer 24-03-2011 at 08:00:00 Incorporated feedback from Hitoshi Okumura. On optional xbrlinstance parameter's type, removed "?" from element(xbrli:xbrl) for uniformity with other functions in this suite.
Richard Ashby 18-06-2013 at 14:00:00Z As per agreement on FWG call 2013/06/13, removed optional instance parameter and created separate CR function that uses it.