Bripindinfina
New Member
i have xml data with node name as a numeric value and i need to retrieve the node with that name.when i use the below code it throws the exception"Expression must evaluate to a node-set."below is the code.\[code\]`lSampleXml.SelectSingleNode("//" & lClass.Name)`\[/code\]where lClass.Name is a numeric value = http://stackoverflow.com/questions/14477837/6556 casted into string.please help to get rid of the exception. Below is my sample XML \[code\]<Root> <6556> <Data> </Data> <Text> </Text> </6556> <1223> </1223> <Phone> </Phone></Root>\[/code\]