Example 10     Previous      Next    

Several paths can be combined with | separator.
 
//CCC | //BBB
Select all elements CCC and BBB

     <AAA>
          <BBB/>
          <CCC/>
          <DDD>
               <CCC/>
          </DDD>
          <EEE/>
     </AAA>
Open the example in XLab. | Tree view (PNG)
 
/AAA/EEE | //BBB
Select all elements BBB and elements EEE which are children of root element AAA

     <AAA>
          <BBB/>
          <CCC/>
          <DDD>
               <CCC/>
          </DDD>
          <EEE/>
     </AAA>
Open the example in XLab. | Tree view (PNG)
 
/AAA/EEE | //DDD/CCC | /AAA | //BBB
Number of combinations is not restricted

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



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | IDOOX