>> English << | česky | Nederlands | Français | Español | По русски | Deutsch ZVON > Tutorials > XPath Tutorial
>> Example 11 << | Prev | Next

The child axis contains the children of the context node. The child axis is the default axis and it can be omitted.
 
/AAA
Equivalent of /child::AAA

     <AAA>
          <BBB/>
          <CCC/>
     </AAA>
Open the example in XLab. | Tree view (JPG)
 
/child::AAA
Equivalent of /AAA

     <AAA>
          <BBB/>
          <CCC/>
     </AAA>
Open the example in XLab. | Tree view (JPG)
 
/AAA/BBB
Equivalent of /child::AAA/child::BBB

     <AAA>
          <BBB/>
          <CCC/>
     </AAA>
Open the example in XLab. | Tree view (JPG)
 
/child::AAA/child::BBB
Equivalent of /AAA/BBB

     <AAA>
          <BBB/>
          <CCC/>
     </AAA>
Open the example in XLab. | Tree view (JPG)
 
/child::AAA/BBB
Both possibilities can be combined

     <AAA>
          <BBB/>
          <CCC/>
     </AAA>
Open the example in XLab. | Tree view (JPG)



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet