X Tutup
The Wayback Machine - https://web.archive.org/web/20210120071302/https://github.com/radixo/libxml2-nodejs/issues/8
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xmlAddChild but no xmlRemoveChild #8

Closed
WebReflection opened this issue Nov 21, 2020 · 1 comment
Closed

xmlAddChild but no xmlRemoveChild #8

WebReflection opened this issue Nov 21, 2020 · 1 comment

Comments

@WebReflection
Copy link

@WebReflection WebReflection commented Nov 21, 2020

Assuming this would remove the node from its current container, I am using a work around such as:

xmlAddChild(xmlNewNode(null, 'trashbin'), node);

that is to remove node from its tree, but I am not sure this is the best way to go.

@WebReflection
Copy link
Author

@WebReflection WebReflection commented Nov 23, 2020

OK, I've seen this is convoluted/complicated in the libxml2 namespace, so I am invalidating the layout and revalidating when needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup