1,105,556 Community Members

removing xml tags from json data

Member Avatar
Newbie Poster
3 posts since Jan 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]

I have question about json data. I can convert data from database to json data in asp.net web service but they come with xml tags. I need to remove string tags and xml information from this data. The appearance of the data is :
<?xml version="1.0" encoding="utf-8" ?>

<string xmlns="http://tempuri.org/">



Member Avatar
Master Poster
758 posts since Aug 2010
Reputation Points: 115 [?]
Q&As Helped to Solve: 143 [?]
Skill Endorsements: 29 [?]

The best way is to change your webservice so it doesn't return those tags.
Post the code for your method.

This article has been dead for over three months: Start a new discussion instead
Start New Discussion
View similar articles that have also been tagged: