Skip to content

Commit

Permalink
Merge pull request #134 from skogsmaskin/feat/xbrl-reg-5-transforms-s…
Browse files Browse the repository at this point in the history
…upport

Add support for XII Transformation Registry 5
  • Loading branch information
manusimidt authored May 31, 2024
2 parents 2205e06 + a9443bf commit 5026f43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xbrl/transformations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 5026f43

Please sign in to comment.