xfi:distinct-nonAbstract-parent-concepts
xs:QName*=xfi:distinct-nonAbstract-parent-concepts( $linkrole as xs:string?, $arcrole as xs:string)
Last updated on 18-06-2013 at 14:00:00Z.
OIM Status
SupportedParameters
Name | Type | Details |
---|---|---|
linkrole | xs:string? |
|
arcrole | xs:string |
|
Output
Type: xs:QName*
All relationships from the root in the indicated network are checked for any that have non-abstract from (parent) and to (child). The set of distinct QNames of parents is returned.
This is a helper function for summing children and checking to parent value, when either the parent, or children, may be missing (falling back). It is used in conjunction with a conceptRelation filter.
Here is the equivalent XPath expression for this function, in terms of the xfi:concept-relations function:
distinct-values( for $relationship in xfi:concept-relationships( QName('http://www.xbrl.org/2008/function/instance','root'), 'http://abc.com/role/link1', 'http://www.xbrl.org/2003/arcrole/parent-child', 'sibling-or-descendant') , $from-concept in xfi:relationship-from-concept($relationship), $to-concept in xfi:relationship-to-concept($relationship) return ( if ( xfi:concept-custom-attribute($from-concept, QName("","abstract") or xfi:concept-custom-attribute($to-concept, QName("","abstract")) then () else $from-concept) )
Conformance suite
90510 xfi.distinct-nonAbstract-parent-concepts testcase.xml [ download ]
Owners
Name | Affiliation | Start | End | |
---|---|---|---|---|
Herm Fischer |
|
fischer@markv.com | 04-11-2009 at 20:00:00 | |
Richard Ashby |
|
rna@corefiling.com | 18-06-2013 at 14:00:00Z |
Revisions
Name | On | Details |
---|---|---|
Herm Fischer | 04-11-2009 at 20:00:00 |
|
Herm Fischer | 12-12-2009 at 00:00:00 |
|
Herm Fischer | 07-09-2010 at 00:00:00 |
|
Herm Fischer | 09-09-2010 at 00:00:00 |
|
Richard Ashby | 18-06-2013 at 14:00:00Z |
|