node-xml2js icon indicating copy to clipboard operation
node-xml2js copied to clipboard

XML to JavaScript object converter.

Results 136 node-xml2js issues
Sort by recently updated
recently updated
newest added

Are you looking for maintainers? there is quite a bit of issues/pr open

Getting this with version 0.4.23: Uncaught TypeError: Cannot read properties of undefined (reading 'prototype') at sax.js:222:46 at node_modules/sax/lib/sax.js (sax.js:1565:1) at __require (chunk-UNANNA3Z.js?v=1c06db08:38:50) at Object. (parser.js:9:9) at node_modules/xml2js/lib/parser.js (parser.js:381:4) at __require...

hi, im converting a json object to a xml file, using builder class, and i want to deny the root node, meaning, to convert the json object to an xml...

Hello! I went through existing issues but could not find this scenario; feel free to close/link if this has already been asked. For input: ``` let json = [ {...

The input xml is as shown <data> <a>A</a> <a>A</a> <b>B</b> <b>B</b> <c>C</c> <c>C</c> <a>A</a> <b>B</b> <c>C</c> </data> and the output is { data: { a: [ 'A', 'A', 'A' ],...

Hi, I'm trying to parse XML files from an external service that contain a block of HTML in them. I am using the parser to collect some other information and...

Parsing the following Xml: `""` yields: ` {"a":{"$":{"id":"1"},"b":[{"$":{"id":"b1"}},{"$":{"id":"b2"}}],"c":[{"$":{"id":"c1"}}]}}` which destroys the fact that **c1** occurs before **b2**. Sample test file: ``` const parseString = require('xml2js').parseString; const xml = "" parseString(xml,...

This PR adds a `forceCdata` option to the XML builder that wraps all text nodes in CDATA even when it is not required. This option is set to `false` by...

Question about `valueProcessors` option: Given this setup: ``` const xml2jsParser = new xml2js.Parser({ explicitArray: false, // Always put child nodes in an array if true; otherwise an array is created...

Me and my team use yarn for managing our node packages. And turns out the version 0.4.23 is outdated on those registries. To be a bit more specific the code...