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

Baumansicht

Beispiel
 
//BBB[ position() = floor(last() div 2 + 0.5) or position() = ceiling(last() div 2 + 0.5) ]
Wähle das/die mittlere(n) BBB 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