English | česky | Nederlands | Français | Español | По русски | >> Deutsch << ZVON > Tutorials > XPath Tutorial
Beispiel 22 > Beispiel 3

Baumansicht

Beispiel
 
//CCC[ position() = floor(last() div 2 + 0.5) or position() = ceiling(last() div 2 + 0.5) ]
Wähle das/die mittlere(n) CCC Element(e) aus

     <AAA>
          <BBB/>
          <BBB/>
          <BBB/>
          <BBB/>
          <BBB/>
          <BBB/>
          <BBB/>
          <BBB/>
          <CCC/>
          <CCC/>
          <CCC/>
     </AAA>
Öffne das Beispiel in XLab. | Gehe zum Beispiel



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet