nameshave Action
Last updated
Was this helpful?
Last updated
Was this helpful?
The nameshave
action removes all namespaces from an XML document.
Stripping namespaces allows for easy access to XML elements and attributes in a JSON .
Input:
Output:
Removing namespaces is prone to ambiguity. The origin of elements carrying the same local name will be lost (see the example above).
Attributes originally in different namespaces sharing the same local name will silently override each other:
becomes