Reputation: 43
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
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