Replies: 2 comments
-
Whoops, sorry! I'm wrong. It wasn't in the docs, but I discovered it was possible like so:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, perfect solution. That's exactly the way to remove an attribute. Fluidxml doesn't re-implement what DOM performs quite well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you write an attribute to a node, it's only possible to empty it out, but the attribute tag will always remain on the node.
There should be some kind of
removeAttribute
function I think - DOMElement has this built-in.Beta Was this translation helpful? Give feedback.
All reactions