Skip to content

fxparser is not defined ( html browser, CDN ) #696

@hoogw

Description

@hoogw

Please help, I get error

fxparser is not defined

Screenshot 2024-11-18 at 9 49 12 AM

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

Screenshot 2024-11-18 at 9 52 50 AM

Do I also need to add https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/4.5.0/fxparser.min.js.map to html ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions