parseXML
Script
v1
Fork
1
2
3
4
5
export
async
function
parseXML
(
xml
)
{
const
{
XMLParser
}
=
await
import
(
"https://esm.sh/fast-xml-parser@4.1.2"
)
;
const
parser
=
new
XMLParser
(
)
;
return
parser
.
parse
(
xml
)
;
}