Open hoogw opened 3 days ago
We're glad you find this project helpful. We'll try to address this issue ASAP. You can vist https://solothought.com to know recent features. Don't forget to star this repo.
ok, I change code to
const parser = new XMLParser();
No error, but result is empty,
here is my xml document
Here is console, parse result object is empty.
const parser = new fxp.XMLParser(config);
result = parser.parse(xmlData);
FYR: https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/index.html
Please help, I get error
fxparser is not defined
HTML tag
<script src="https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/4.5.0/fxparser.min.js" integrity="sha512-q1u77EjD05HQWHgQEOkFWpMXXJQZLHNNgMVxp0K+LvtStBVHcgbm+u18TFTPpZ48fcjX4NZJlljQM4mNkUeifA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
JS
const parser = new fxparser.XMLParser(); let getCapabilities_Obj = parser.parse(getCapabilities);
I am not sure, why fxparser was comment out in min.js file see
Do I also need to add https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/4.5.0/fxparser.min.js.map to html ?