strong type in XML
XML / XSL
1
Posts
1
Posters
1
Views
1
Watching
-
how to do the following using .NET I have the following XML document :
**3.14159**
If I were using COM MSXML parser, I could get NodeTypedValue property to get "strongly-typed" value. b= XMLDocument.SelectSingleNode("//b"); variant value = b.NodeTypedValue; //now the variant contains double value. The question is: how to achieve the same using C# ? Value property of XMLNode object returns String type, wchich i have to convert to get desired type... How to do this without explicit conversion (by the means of XMLConvert class or similar...) Thanks Michal Januszczyk