5 ms·
no xml library either.
by chovybizzass 6y ago
no xml library either.
- afavour 6y agoWhy not make an external module for that? I don't see why it would need to be integrated into the runtime.
- dopidop 6y agoIndeed, unless it’s core in own the runtime store state to manipulate xml it’s seems like something that should be a user module
- stjohnswarts 6y agoThis is the best idea for XML. XML is big monster so to include it in the core might not be the right thing.
- jdxcode 6y agoI used https://github.com/nekobato/deno-xml-parser https://github.com/nekobato/deno-xml-parser which worked fine for my use-case. It's 1 TS file with no dependencies.
- tedk-42 6y agoI doubt it's worth writing this into the core of Deno to support a dying markup language.
- aetherspawn 6y agoMost of the web is XML-like (XHTML, Sitemaps, Manifests, RSS etc). It's not going anywhere any time soon. Denying XML support may as well be like denying JSON support at this point.
- crowlKats 6y agoFor people seeking a solution, one can use deno_dom, which implements various DOM related APIs, including DOMParser, which lets you parse XML