By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,054 Members | 1,334 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,054 IT Pros & Developers. It's quick & easy.

I want to check multiple condition for xml code using c#

P: 2

I am working with XML based codes.
I was asked to check multiple condition in XML codes.

Expand|Select|Wrap|Line Numbers
  1.     <Model>
  2.     <Component id="10" name="John" country="UK">
  3.     </Component>
  4.     <Component id="45" name="Peter" country="US">
  5.     </Component>
  6.     <Component id="3" name="Mark" country="AUS">
  7.     </Component>
  8.     <Component id="8" name="Luke" country="UK">
  9.     </Component>
  10.     <Model>

Here I want to select node with id>=8 and Country=UK.
Help me to get rid of this problem
Jan 30 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.