New DTL function to remove namespacesNot planned
This might be a good idea, but we're currently lacking a real use-case and a concrete proposal for how to solve the use-case.Comment actions
I've got a real use-case for this:
At Statnett we import data from Kafka. Kafka returns a base64-encoded XML-string.
The decoded XML-string contains about a dozen different namespaces (ns1, ns2, ns3...).
All elements have one of these namespaces.
The root element and some of the sub elements have different namespaces on some occasions. For one entity the root element can have namespace ns5, for another entity it can have ns8.
This makes it hard to use fully namespaced references to these elements. We basically just want to get rid of the namespaces.
Example JSON-ified structure:
"ns1:property1": value 1
Another example from the same Kafka source:
"ns5:property1": value 1
Please sign in to leave a comment.