LINQ query on XML
I want to get the name and address of the **applicant** element where **app-type="applicant"** or **( app-type="applicant-inventor" and designation="us-only" )**.

How should I try to query with LINQ ?

Thanks in advance. 


         <applicants>
            <applicant designation="all-except-us" app-type="applicant" sequence="1">
               <addressbook>
                  <name name-type="legal">Hello LIGHTING CO., LTD.</name>
                  <address>
                     <address-1>Myanmar</address-1>
                  </address>
               </addressbook>
               <nationality>
                  <country>CN</country>
               </nationality>
               <residence>
                  <country>CN</country>
               </residence>
            </applicant>
            <applicant designation="us-only" app-type="applicant-inventor" sequence="2">
               <addressbook>
                  <name name-type="natural">Henry </name>
                  <address>
                     <address-1>Chicago 380892</address-1>
                  </address>
               </addressbook>
               <nationality>
                  <country>CN</country>
               </nationality>
               <residence>
                  <country>CN</country>
               </residence>
            </applicant>
            <applicant designation="us-only" app-type="applicant-inventor" sequence="3">
               <addressbook lang="EN">
                  <name name-type="natural">Gho Chi</name>
                  <address>
                     <address-1>Thai 310012</address-1>
                  </address>
               </addressbook>
               <nationality>
                  <country>CN</country>
               </nationality>
               <residence>
                  <country>CN</country>
               </residence>
            </applicant>
         </applicants>
LINQ query on XML
===

I want to get the name and address of the **applicant** element where **app-type="applicant"** or **( app-type="applicant-inventor" and designation="us-only" )**.

How should I try to query with LINQ ?

Thanks in advance. 


         <applicants>
            <applicant designation="all-except-us" app-type="applicant" sequence="1">
               <addressbook>
                  <name name-type="legal">Hello LIGHTING CO., LTD.</name>
                  <address>
                     <address-1>Myanmar</address-1>
                  </address>
               </addressbook>
               <nationality>
                  <country>CN</country>
               </nationality>
               <residence>
                  <country>CN</country>
               </residence>
            </applicant>
            <applicant designation="us-only" app-type="applicant-inventor" sequence="2">
               <addressbook>
                  <name name-type="natural">Henry </name>
                  <address>
                     <address-1>Chicago 380892</address-1>
                  </address>
               </addressbook>
               <nationality>
                  <country>CN</country>
               </nationality>
               <residence>
                  <country>CN</country>
               </residence>
            </applicant>
            <applicant designation="us-only" app-type="applicant-inventor" sequence="3">
               <addressbook lang="EN">
                  <name name-type="natural">Gho Chi</name>
                  <address>
                     <address-1>Thai 310012</address-1>
                  </address>
               </addressbook>
               <nationality>
                  <country>CN</country>
               </nationality>
               <residence>
                  <country>CN</country>
               </residence>
            </applicant>
         </applicants>