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

L'asse following contiene tutti i nodi che sono presenti nello stesso documento del nodo contestuale e che sono successivi rispetto a esso secondo l'ordine del documento, esclusi nodi discendenti, di attributo o di namespace.
 
/AAA/XXX/following::*

     <AAA>
          <BBB>
               <CCC/>
               <ZZZ>
                    <DDD/>
                    <DDD>
                         <EEE/>
                    </DDD>
               </ZZZ>
               <FFF>
                    <GGG/>
               </FFF>
          </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)
 
//ZZZ/following::*

     <AAA>
          <BBB>
               <CCC/>
               <ZZZ>
                    <DDD/>
                    <DDD>
                         <EEE/>
                    </DDD>
               </ZZZ>
               <FFF>
                    <GGG/>
               </FFF>
          </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)