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

Optionally include XML declarations and doctype declarations in the DOM #30

Closed
rgrove opened this issue Jan 23, 2023 · 0 comments · Fixed by #32
Closed

Optionally include XML declarations and doctype declarations in the DOM #30

rgrove opened this issue Jan 23, 2023 · 0 comments · Fixed by #32
Assignees

Comments

@rgrove
Copy link
Owner

rgrove commented Jan 23, 2023

It would be useful if parse-xml provided parser options which, when enabled, would cause XML declarations and doctype declarations to be included in the DOM. This would allow a custom serializer to round-trip a parsed document to an equivalent (though not strictly equal) XML string.

@rgrove rgrove self-assigned this Jan 28, 2023
rgrove added a commit that referenced this issue Jan 29, 2023
rgrove added a commit that referenced this issue Jan 29, 2023
@rgrove rgrove linked a pull request Jan 30, 2023 that will close this issue
@rgrove rgrove closed this as completed in 8659727 Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant