r:prefixed-string

xs:string=r:prefixed-string( $clark-string as xs:string, $namespace-map as xs:string*)

Last updated on 25-05-2023 at 00:00:00.

Takes a string containing a space-separated list of Clark Notation values, and converts it to a space-separated list of QName values.

OIM Common 1.0

OIM Status

Supported

Parameters

Name Type Details
clark-string xs:string A space-separated list of Clark notation values. Each value must be separated by a single space character (0x20).
namespace-map xs:string* A sequence of string values, each containing space-separated prefix / namespace URI pairs. Each value must consist of an xs:NCName, followed by a single space character (0x20), followed by an xs:anyURI.

Output

Type: xs:string

The provided clark-string converted to a space-separated list of QName values. The prefix used for a namespace will be: the reserved prefix from OIM Common if present, otherwise the prefix associated with the URI in the provided namespace-map, if any, otherwise an arbitrary prefix assigned by the processor.

Errors

Code Details
re:invalidClarkValue Error thrown if the provided value is not a space-separated list of valid Clark notation values.
re:invalidNamespaceMap Error thrown if the provided namespace-map does not conform to the prescribed format, or if the same prefix or namespace URI appears more than once within the map.

Owners

Name Affiliation Email Start End
Paul Warren XBRL International pdw@xbrl.org 25-05-2023 at 00:00:00