Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
41 views

Invalid XSD schema using libxmljs with NodeJS with flattened XSD

I want to validate an XML document against an XSD schema. I'm using libxmljs 0.33 with NodeJS 18. I keep receiving this error: Error: Invalid XSD schema at createPDF (/root/workspace/app/apps/...
Alaa Eddine Cherif's user avatar
0 votes
0 answers
12 views

Generating Stub from WSDL/XML file in nodejs using utility other than Apache CFX

looking for different utility other than Apache CFX to generate stub from WSDL/XML file Currently we are using Apache CFX to generate the stub(.js) from WSDL/XML file. But we are looking for different ...
Jamunasri K's user avatar
0 votes
2 answers
85 views

How to parse multiple Large XML files with good performance and memory usage balance?

I'm implementing a program which should get files from the user in Angular, send them to the node.js backend, where there those will be read and parsed into an array of object. I went with javascript ...
Andrea Fantini's user avatar
0 votes
1 answer
22 views

Understanding MS Word XML - Troubleshoot Corrupt Document

I'm building an application that uses the NodeJS library docx to "patch" a MS Word document and send it to the client. In a prior revision, I had the docx library output a buffer, then I ...
Justin's user avatar
  • 546
0 votes
0 answers
12 views

Not able to get the header on sonos

I am integrating my service on sonos looking for the below design to achieve <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/...
Abhijeet Srivastava's user avatar
0 votes
2 answers
48 views

How to remove namespace from specific attribute?

This is my sample XML <?xml version="1.0"?> <DOCUMENT> <MY_DATA_SET xmlns=""> <MY_DATA> <MY_DATA> </MY_DATA_SET> <DOCUMENT> I want ...
janaka ravindra's user avatar
0 votes
0 answers
26 views

Trying to convert html page to xml via nodejs

Im want to add sitemap route to my react website so I fetch the sitemap data and want to render a xml when user enter www.website.om/sitemap so I have this code in the backend: const generateSitemap = ...
Razz's user avatar
  • 31
0 votes
1 answer
43 views

How to upload a file xml with NodeJS v18 to a SharePoint Online?

I shouaite upload a file . xml in a folder of an online sharepoint, I only have the client_id the client_secret and the url of my sharepoint. Unfortunately, I can’t find a solution....
Simon LAURENT's user avatar
0 votes
0 answers
51 views

Bing Ads SOAP request yeilds Error: read ECONNRESET using NodeJS strong-soap

I'm using strong-soap to make requests to the Microsoft Bing Ads API (specifically this endpoint). Here's my code: const wsdlURI = "https://clientcenter.api.bingads.microsoft.com/Api/...
Ethan Crabb's user avatar
0 votes
2 answers
72 views

Reuse XSLT for different XML inputs using parameters in nodeJS with saxon-js

I want to transform an unknown number of different but very similar structured input XML documents with XSLT into a single output XML format. My platform is node.js and therefore I'm looking into ...
thomaswr's user avatar
  • 526
0 votes
0 answers
80 views

conversion to XML in Node JS

I am working on my application using node js for the backend, and I want to implement this process. Each file (can be pdf, excel , ..) added to folder number 1 in my backend must be detected ...
Abir Gharsalli's user avatar
1 vote
3 answers
162 views

How to get variable in xml file using saxonjs and nodejs

I have a xml file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE agent SYSTEM "http://www.someUrl.com"> <myData> <service> <description>Description</...
1Z3173C0D3's user avatar
0 votes
1 answer
183 views

digitally sign xml using xml-crypto in nodejs

I am using xml-crypto version 6 to digitally sign xml in nodejs. But the package automatically add Id="_0" and URI="#_0" attribute to the elements being signed. Can anyone one help ...
Robin Singh's user avatar
0 votes
0 answers
59 views

The module '/var/task/node_modules/libxmljs/build/Release/xmljs.node'\nwas compiled against a different Node. version 93.This version of Node.js 108

Some Context here: I am using aws amplify and installed a node package: https://www.npmjs.com/package/libxmljs into a lambda, and getting the following error. I already tried removing node_modules and ...
Manu Jo Varghese's user avatar
0 votes
0 answers
119 views

Sign and Encryption to XML for SOAP services in NodeJS

I need create a logic in NodeJS that allow sign and encrypt XML for communications SOAP. In the tag header what values would go in its content <soap:Header> <wsse:Security> <ds:...
jacksonguerrer0's user avatar

15 30 50 per page
1
2 3 4 5
58