English | česky | Nederlands | Français | Español | По-русски | Deutsch | 中文 | >> Italiano << | Polski ZVON > Tutorials > XPath Tutorial
>> Esempio 15 << | Precedente | Successivo

L'asse following-sibling contiene tutti i successivi nodi-fratello del nodo contestuale.
 
/AAA/BBB/following-sibling::*

     <AAA>
          <BBB>
               <CCC/>
               <DDD/>
          </BBB>
          <XXX>
               <DDD>
                    <EEE/>
                    <DDD/>
                    <CCC/>
                    <FFF/>
                    <FFF>
                         <GGG/>
                    </FFF>
               </DDD>
          </XXX>
          <CCC>
               <DDD/>
          </CCC>
     </AAA>
Apri l'esempio in XLab. | Vista ad albero (JPG)
 
//CCC/following-sibling::*

     <AAA>
          <BBB>
               <CCC/>
               <DDD/>
          </BBB>
          <XXX>
               <DDD>
                    <EEE/>
                    <DDD/>
                    <CCC/>
                    <FFF/>
                    <FFF>
                         <GGG/>
                    </FFF>
               </DDD>
          </XXX>
          <CCC>
               <DDD/>
          </CCC>
     </AAA>
Apri l'esempio in XLab. | Vista ad albero (JPG)