C # XML Manipulation VB Request Code Transformation ... and more!
I am following the VB tutorial to do HTML manipulation using LINQ
It has the following construction
Imports <xmlns="http://www.w3.org/1999/xhtml">
How do I do the same in C #?
There seems to be something called XMLNamespaceManager that may contain a solution, but I'm too stupid to figure out how it works and I'm not sure if this is the right tree to bark.
Any tips?
source to share
VB.Net has a function named XML Literals
which is missing in C #. This import statement adds a namespace for use with these literals.
While researching this information, I found this link helpful:
http://blogs.msdn.com/bethmassi/archive/2007/10/30/quickly-import-and-export-excel-data-with-linq-to-xml. aspx
This is also very informative for working with Excel xml documents, but this is a side question;)
source to share