cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Is it possible to convert Infotable into XML

ldas1
1-Newbie

Is it possible to convert Infotable into XML

I was trying to update a part of element in edge.xml file, for that I tried the converting edge.xml file to infotable and then written the modification code, now in order to write the file back to repository I need my infotable to convert back to XML format. How can I make it possible.

4 REPLIES 4
PaiChung
22-Sapphire I
(To:ldas1)

There are JSON to XML converters, that probably would be the easiest route.

ldas1
1-Newbie
(To:PaiChung)

Thanks for the suggestion, but my result is coming in the form of Infotable,

ankigupta
5-Regular Member
(To:ldas1)

Hi Lipsa Das​,

You can change Infotable to JSON simply by:

var params = {

    table: undefined /* INFOTABLE */

};

// result: JSON

var result = Resources["InfoTableFunctions"].ToJSON(params);

Thanks but can you also give me the example of JSON to XML conversion because I want my result to come as an XML Format

Top Tags