-2

I am trying to generate an XML file using JS. I am really clueless about where to start. How can I generate an XML file using js

5

1 Answer 1

0

xml is just like html, so you can create element and add xml to element then you can parse easy.

Or

Use XMLDocument object see https://www.w3schools.com/XML/dom_document.asp

Sign up to request clarification or add additional context in comments.

3 Comments

Can you show me some example? It would be really helpfull
for more detail click on any function in the first reference and it will open an example for it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.