Replies: 4 comments
-
The DOM is outside the scope of JS engines (it's a browser concern) but there's a plethora of existing C/Rust/etc. XML parser libraries you can write bindings for. |
Beta Was this translation helpful? Give feedback.
-
You could try to use |
Beta Was this translation helpful? Give feedback.
-
At one point I bundled JSDOM for use in the browser https://github.com/guest271314/jsdom-extension. Should be possible to use only ECMAScript in the bundle. |
Beta Was this translation helpful? Give feedback.
-
This https://github.com/guest271314/jsdom-extension/blob/main/background.js works using
|
Beta Was this translation helpful? Give feedback.
-
In quickjs, there is no official DOMParser support. Because of this, handling XML in quickjs or quickjs-ng is quite difficult. Do you have any good solution to integrate XML support to JS?
Beta Was this translation helpful? Give feedback.
All reactions