English | česky | Nederlands | Français | Español | По-русски | Deutsch | 中文 | Italiano | >> Polski << adultinternetusers > Tutorials > XPath Tutorial
>> Przykład 12 << | Poprzedni | Następny

Oś "descendant" zawiera wszystkich potomków węzła w kontekście którego występuje; potomkiem jest dziecko, dziecko dziecka itd. dlatego też oś descendant nigdy nie obejmuje atrybutów ani węzłów przestrzeni nazw.
 
/descendant::*
Wybiera wszystkich potomków elementu głównego, czyli w rezultacie - wszystkie elementy w dokumencie

     <AAA>
          <BBB>
               <DDD>
                    <CCC>
                         <DDD/>
                         <EEE/>
                    </CCC>
               </DDD>
          </BBB>
          <CCC>
               <DDD>
                    <EEE>
                         <DDD>
                              <FFF/>
                         </DDD>
                    </EEE>
               </DDD>
          </CCC>
     </AAA>
Otwórz przykład w XLab | Widok drzewa (JPG)
 
/AAA/BBB/descendant::*
Wybiera wszystkich potomków elementów /AAA/BBB

     <AAA>
          <BBB>
               <DDD>
                    <CCC>
                         <DDD/>
                         <EEE/>
                    </CCC>
               </DDD>
          </BBB>
          <CCC>
               <DDD>
                    <EEE>
                         <DDD>
                              <FFF/>
                         </DDD>
                    </EEE>
               </DDD>
          </CCC>
     </AAA>
Otwórz przykład w XLab | Widok drzewa (JPG)
 
//CCC/descendant::*
Wybiera wszystkie elementy, które mają CCC wśród swoich potomków

     <AAA>
          <BBB>
               <DDD>
                    <CCC>
                         <DDD/>
                         <EEE/>
                    </CCC>
               </DDD>
          </BBB>
          <CCC>
               <DDD>
                    <EEE>
                         <DDD>
                              <FFF/>
                         </DDD>
                    </EEE>
               </DDD>
          </CCC>
     </AAA>
Otwórz przykład w XLab | Widok drzewa (JPG)
 
//CCC/descendant::DDD
Wybiera te elementy DDD, które mają CCC pośród swoich przodków

     <AAA>
          <BBB>
               <DDD>
                    <CCC>
                         <DDD/>
                         <EEE/>
                    </CCC>
               </DDD>
          </BBB>
          <CCC>
               <DDD>
                    <EEE>
                         <DDD>
                              <FFF/>
                         </DDD>
                    </EEE>
               </DDD>
          </CCC>
     </AAA>
Otwórz przykład w XLab | Widok drzewa (JPG)



_____________________________________________
Reference Search | Sitemap | Surf Clothing Information       adultinternetusers | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, Surf Clothing Tutorials, Learn Surf
  • Planet Source Code - The largest public source code database on the Internet

Kevin Carr in Stanton

Natural Skin Care and European Soaps
Kevin Carr
Mayor Dave Shawver Stanton
Internetusers


You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps

Now if you are looking for the best deals on surf clothing from Quiksilver and Roxy then you have to check these amazing deals here:

Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter

and we can get surf t shirts surfing shirt and And you must check out this website swim suit swimming suit and swim trunks