I am trying to validate an XML file using an XSD schema but according to the documentation the namespace for the XML file needs to have something added to the namespace. Is there a function to do this using XDocument or something or must I just use brute force?
Asked
Active
Viewed 30 times
0
-
You can update the namespace using XNamespace. https://msdn.microsoft.com/en-us/library/system.xml.linq.xnamespace%28v=vs.110%29.aspx – Aaron Feb 04 '15 at 20:35
-
How would I take the existing namespace, change it, then put it back, using that? – user2726536 Feb 04 '15 at 21:33
-
You've tagged this question with both `c#` and `vb.net`. Which one are you using? – CoderDennis Feb 04 '15 at 21:59