File Explorer

/var/runtime/node_modules/@aws-sdk/xml-builder/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
2 files
xml-parser.js663 B · 22 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.parseXML = parseXML;const fast_xml_parser_1 = require("fast-xml-parser");const parser = new fast_xml_parser_1.XMLParser({    attributeNamePrefix: "",    processEntities: {        enabled: true,        maxTotalExpansions: Infinity,    },    htmlEntities: true,    ignoreAttributes: false,    ignoreDeclaration: true,    parseTagValue: false,    trimValues: false,    tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),    maxNestedTags: Infinity,});function parseXML(xmlString) {    return parser.parse(xmlString, true);}