Reading values from unformatted xml
-
Hi All, I have an unformatted xml string text which looks as below
<Value Name="Param1" Length="0" Type="System.Double">3</VALUE> <Value Name="Param2" Length="0" Type="System.Double">2</VALUE>
I want to read values from the above xml text. I have tried it to make it XmlDocument object but it is giving error as illegal characters exist. Please give me advice how to read values from this text. If posible give me a small code snippet. Thanks, Aleem Mohammad.
NIIT technologies abdul.aleem@niit-tech.com
-
Hi All, I have an unformatted xml string text which looks as below
<Value Name="Param1" Length="0" Type="System.Double">3</VALUE> <Value Name="Param2" Length="0" Type="System.Double">2</VALUE>
I want to read values from the above xml text. I have tried it to make it XmlDocument object but it is giving error as illegal characters exist. Please give me advice how to read values from this text. If posible give me a small code snippet. Thanks, Aleem Mohammad.
NIIT technologies abdul.aleem@niit-tech.com
This is not XML, therefore your question does not belong in this forum. Do you know why ? Do you know how XML is defined ? 1 - it has one root element 2 - it is case sensitive.
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.