No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
my xml is somehting like this: [code=html] <loc id="123"> <value>data1</value> </loc> <loc id="223"> <value>data2</value> </loc> <loc id="323"> <value>data3</value> </loc> <loc id="423"> <value>data4</value> </loc> [/code] how do I read all the ids? this code give me only the first id (123). when it loops to next, throws exception. [code=c#] XmlNodeList xmlnode … |
|
my string looks like this, <place id="opt1"><data>data 1-data2 ! data3</data></place> I'd like to remove space, -, ! from only data element (data 1-data2 ! data3) using regex. Rest of stuff should be as it is (<place id="opt1"><data></data></place>). Any idea? |
|
I am new to C#. I have been working on a C# console project. I sent a request to a server and get a very lengthy response string (html format). I want to extract and get some information from this string. If I use javascript I know how to fetch. … |