-
Notifications
You must be signed in to change notification settings - Fork 82
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
Provide xml_clone() #341
Comments
+1 to this. Use case: I'd like to replace the https://github.com/r-lib/lintr/blob/fc6cb377839ffb6862601e72c0e1b86f7ef00015/R/seq_linter.R#L31 (i.e., it maps It would be natural to use The current workaround seems to be constructing a new XML document manually from the sub-tree, which is currently quite manual. Even an API like |
+1, this would be quite useful for when you want to make destructive edits to the tree in a function. |
For when you want to modify a copy of an xml (sub)tree.
The text was updated successfully, but these errors were encountered: