Hi,
I'm searching for a possibility to remove an attribut with scripting.
Does anyone knows how?
THX
hover
how to remove an attribute from a xml node?
Re: how to remove an attribute from a xml node?
Thank you, that works.
Re: how to remove an attribute from a xml node?
This is from the documentation of the Element class:
removeAttribute( qualified-name : String, prefix-map : Map )
Removes the attribute with the specified qualified name. If the qualified name includes a prefix, it is resolved using the map in the second argument, otherwise the second argument may be null or omitted.
removeAttribute( qualified-name : String, prefix-map : Map )
Removes the attribute with the specified qualified name. If the qualified name includes a prefix, it is resolved using the map in the second argument, otherwise the second argument may be null or omitted.
Re: how to remove an attribute from a xml node?
This is from the documentation of the Element class:
removeAttribute( qualified-name : String, prefix-map : Map )
Removes the attribute with the specified qualified name. If the qualified name includes a prefix, it is resolved using the map in the second argument, otherwise the second argument may be null or omitted.
removeAttribute( qualified-name : String, prefix-map : Map )
Removes the attribute with the specified qualified name. If the qualified name includes a prefix, it is resolved using the map in the second argument, otherwise the second argument may be null or omitted.
Re: how to remove an attribute from a xml node?
oh, that's new in Switch 2019.
thx
thx