create and modify xml file using javascript

后端 未结 4 1658
故里飘歌
故里飘歌 2020-12-03 21:55

How do i create new xml file and also modify any xml file means add more nodes in xml file using javascript.?

Thanks in advance...

4条回答
  •  醉酒成梦
    2020-12-03 22:25

    What context is the file running in, and where are you going to save the new XML data?

    (The usual context is the browser, in which case you're basically able to display it or post it back to the server.)

    But if you're writing a script that would run outside the browser, it depends.

提交回复
热议问题