From a9443bf2fae20d8baa55298df85f37e6de434343 Mon Sep 17 00:00:00 2001 From: Per-Kristian Nordnes Date: Fri, 31 May 2024 08:16:15 +0200 Subject: [PATCH] Add support for XII Transformation Registry 5 Name: XII Transformation Registry 5 Prefix: ixt Namespace: http://www.xbrl.org/inlineXBRL/transformation/2022-02-16 --- xbrl/transformations/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xbrl/transformations/__init__.py b/xbrl/transformations/__init__.py index 8c035b4..098af82 100644 --- a/xbrl/transformations/__init__.py +++ b/xbrl/transformations/__init__.py @@ -18,6 +18,10 @@ Prefix: ixt Namespace: http://www.xbrl.org/inlineXBRL/transformation/2020-02-12 +Name: XII Transformation Registry 5 +Prefix: ixt +Namespace: http://www.xbrl.org/inlineXBRL/transformation/2022-02-16 + Name: SEC Specific Transformation Registry Prefix: ixt-sec Namespace: http://www.sec.gov/inlineXBRL/transformation/2015-08-31 @@ -591,6 +595,8 @@ def normalize(namespace: str, formatCode: str, value: str) -> str: return ixt4[formatCode](value) elif namespace == 'http://www.sec.gov/inlineXBRL/transformation/2015-08-31': return ixt_sec[formatCode](value) + elif namespace == 'http://www.xbrl.org/inlineXBRL/transformation/2022-02-16': + return ixt4[formatCode](value) else: raise RegistryNotSupported(namespace) except KeyError: