I want to process MSXML which is generated by Visio 2010, Which Language will be helpful to work with the generated XML, i`m very new to this,
Visual basic, .Net or C# will help me?
Regards
I want to process MSXML which is generated by Visio 2010, Which Language will be helpful to work with the generated XML, i`m very new to this,
Visual basic, .Net or C# will help me?
Regards
C# and VB.NET both provide equivalent support for XML because they share the same framework and can utilize all the same libraries. There are many ways to skin the cat, so it all depends what makes the most sense in your situation. You can load the XML with a DataSet
. You can use the XmlDocument
class to load it and then search through it with XPath. You can load it with the XDocument
class and search through it with LINQ. You can deserialize the XML into a matching custom class object. Or, if you are interested in transforming the XML document into another XML or other format, I would recommend using XSLT. You can apply XSLT scripts to XML documents in .NET using the XslCompiledTransform
class. You could easily find examples for all of these online, including on this site, by searching around for each one.
Both Visual Basic and C# have a number of ways of accessing and manipulating XML data. I suggest that you have a look at the LINQ-to-XML features available in both of these .Net languages.