Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have a xml string as
<ServiceLft><Service xsi:type="SHotel" SPUIS="11414"><Reference><DDDD>15874-H1</DDDD></Reference>
<ARVL>
<HLRM>
<CnPolicy>
Policy Is From Here
</CnPolicy>
</HLRM>
</ARVL>




I want to check if CnPolicy exits.. How to do this,
or how to use selectnode to get count of particular xml ..
ie. from above, how to get count of CnPolicy.
Posted

1 solution

There are quite a few articles and tutorials about working with XML in codeProject. Please refer to:

http://codeproject.tv/video/6952980/c-2010-working-with-xml-part-1

Using-XML-in-C-in-the-simplest-way

C# Application with XML File
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900