-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Improve X(HT)ML support #885
Comments
👍 thanks for keeping xHTML in mind! |
This would be very nice. Currently the only option for parsing XML in Node is xml2js, which is a pain to work with. I would much rather work with true Nodes like defined in the DOM standard. Is that possible with the current version of JSDOM? |
@felixfbecker We don't have proper XHTML support, but if you only need to get XML into a DOM-like structure to be able to query it, you can set |
With the addition of strict XHTML parsing, I am going to consider this closed. Other bugs in the x(h)tml tag track specific issues; there definitely are some left. |
Our goal is to be as good as browsers, but no better. In particular, we are not an arbitrary XML DOM. But, we do need to switch parsing modes, produce XmlDocuments, etc. Lots of work to do. @Sebmaster has been leading the charge on this.
The text was updated successfully, but these errors were encountered: