Sindhu
Sindhu

Reputation: 43

Generate xml in angularjs using user input data and send it to a web service

I want to create an XML in angularjs from the user input and send it to the web service. Please help me with any code example as i am new to angularjs.

I searched quiet a few sites but i do not see proper guidelines for creating xml in angularjs.

Upvotes: 4

Views: 7441

Answers (1)

v1shnu
v1shnu

Reputation: 2231

You can use XMLWriter to create an XML. Then you can pass this XML as a string to your webservice. Check this out for XML Writer.

Here is a tutorial on how to use XMLWriter - Tutorial

You can also use this method.

Upvotes: 4

Related Questions