English | česky | Nederlands | Français | Español | По-русски | >> Deutsch << | 中文 | Italiano | Polski ZVON > Tutorials > XPath Tutorial
>> Beispiel 15 << | Vorheriges | Nächstes

Die "following-sibling" Achse enthält alle folgenden Geschwister des Kontextknotens.
 
/AAA/BBB/following-sibling::*

     <AAA>
          <BBB>
               <CCC/>
               <DDD/>
          </BBB>
          <XXX>
               <DDD>
                    <EEE/>
                    <DDD/>
                    <CCC/>
                    <FFF/>
                    <FFF>
                         <GGG/>
                    </FFF>
               </DDD>
          </XXX>
          <CCC>
               <DDD/>
          </CCC>
     </AAA>
Öffne das Beispiel in XLab. | Baumansicht (JPG)
 
//CCC/following-sibling::*

     <AAA>
          <BBB>
               <CCC/>
               <DDD/>
          </BBB>
          <XXX>
               <DDD>
                    <EEE/>
                    <DDD/>
                    <CCC/>
                    <FFF/>
                    <FFF>
                         <GGG/>
                    </FFF>
               </DDD>
          </XXX>
          <CCC>
               <DDD/>
          </CCC>
     </AAA>
Öffne das Beispiel in XLab. | Baumansicht (JPG)