|
|
Browse by Tags
All Tags » ASP.NET » Programming » XML (RSS)
-
A fellow emailed me earlier asking how to get the namespaces from an XML document,
but he was having trouble because the XML had some XML declarations like <?foo?>.
A System.Xml Way
XPathDocument has two cool methods, GetNamespace(localName) and GetNamespaceInScope,
but they need a currentNode to work with.
string s = ...
-
I really like the new LINQ to XML direct
language support in VB9. However, while it's cool, I'm not ready (or willing)
to dump C# and start using VB. But, if I could only use VB9 just for the XML stuff...
Sure, I could create a VB assembly and a C# assembly and add them to a solution,
but then I'd have two assemblies. I could add a ...
|
|
|