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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kalyanakumar619
    New Member
    • Jan 2014
    • 2

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

    Hi,

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



    Code:
        <Model>
        <Component id="10" name="John" country="UK">
        </Component>
        <Component id="45" name="Peter" country="US">
        </Component>
        <Component id="3" name="Mark" country="AUS">
        </Component>
        <Component id="8" name="Luke" country="UK">
        </Component>
        <Model>


    Here I want to select node with id>=8 and Country=UK.
    Help me to get rid of this problem
    Last edited by Rabbit; Jan 30 '14, 04:26 PM. Reason: Please use [CODE] and [/CODE] tags when posting code or formatted data.
Working...