Trying to use the DOMParser with node js

前端 未结 7 1454
忘了有多久
忘了有多久 2020-12-01 10:17

I am running into issues when trying to use the DOMParser in my js code. In my code, I retrieve an xml file via xmlhttp.responseText soap response. I want to be able to ac

7条回答
  •  北荒
    北荒 (楼主)
    2020-12-01 10:32

    Not a direct answer, but depending on your application you could use JSX parser (used by React.js) https://github.com/RReverser/acorn-jsx

提交回复
热议问题