>> English << | česky | Nederlands | Français | Español | По-русски | Deutsch | 中文 | Italiano | Polski | ZVON > Tutorials > XPath Tutorial |
Intro / Search / ZVON |
>> Example 3 << | Prev | Next |
/AAA/CCC/DDD/* |
---|
Select all elements enclosed by elements /AAA/CCC/DDD |
<AAA> <XXX> <DDD> <BBB/> <BBB/> <EEE/> <FFF/> </DDD> </XXX> <CCC> <DDD> <BBB/> <BBB/> <EEE/> <FFF/> </DDD> </CCC> <CCC> <BBB> <BBB> <BBB/> </BBB> </BBB> </CCC> </AAA> |
Open the example in XLab. | Tree view (JPG) |
/*/*/*/BBB |
---|
Select all elements BBB which have 3 ancestors |
<AAA> <XXX> <DDD> <BBB/> <BBB/> <EEE/> <FFF/> </DDD> </XXX> <CCC> <DDD> <BBB/> <BBB/> <EEE/> <FFF/> </DDD> </CCC> <CCC> <BBB> <BBB> <BBB/> </BBB> </BBB> </CCC> </AAA> |
Open the example in XLab. | Tree view (JPG) |
//* |
---|
Select all elements |
<AAA> <XXX> <DDD> <BBB/> <BBB/> <EEE/> <FFF/> </DDD> </XXX> <CCC> <DDD> <BBB/> <BBB/> <EEE/> <FFF/> </DDD> </CCC> <CCC> <BBB> <BBB> <BBB/> </BBB> </BBB> </CCC> </AAA> |
Open the example in XLab. | Tree view (JPG) |