Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Convert XML to form with curly braces

$
0
0

Hello ! 
Is there any mechanism to represent XML as curly braces statement . How achieve this using C# ? For example, I have such XML:
<protocols><bgp><group><name>23</name><import>policy1</import></group></bgp></protocols>
Represented as :
protocols {
  bgp {
    group 23 {
      import policy1;
     }
    }
   }


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>