adultinternetusers > Tutorials > XPointer Tutorial
>> Example 1 / 3 << | Prev | Next |
Contents > element() scheme > Child sequence

Child sequence

Child sequence is an absolute path to the selected element. It is a sequence of slashes "/" and numbers (starting with "/"). Each integer n locates the nth child of the previously located element.


XPointer:element(/1)
Corresponding XPath:/*[1]
Matches root element

<AAA>
   <BBB>
      <CCC/>
      <CCC/>
   </BBB>
   <BBB>
      <CCC/>
      <CCC/>
   </BBB>
</AAA>

XPointer:element(/1/2)
Corresponding XPath:/*[1]/*[2]
Matches the second child of the root element.

<AAA>
   <BBB>
      <CCC/>
      <CCC/>
   </BBB>
   <BBB>
      <CCC/>
      <CCC/>
   </BBB>
</AAA>

XPointer:element(/1/2/1)
Corresponding XPath:/*[1]/*[2]/*[1]
Matches the first child of the second child of the root element.

<AAA>
   <BBB>
      <CCC/>
      <CCC/>
   </BBB>
   <BBB>
      <CCC/>
      <CCC/>
   </BBB>
</AAA>

Kevin Carr in Stanton

Natural Skin Care and European Soaps
Kevin Carr
Mayor Dave Shawver Stanton
Internetusers


You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps

Now if you are looking for the best deals on surf clothing from Quiksilver and Roxy then you have to check these amazing deals here:

Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter

and we can get surf t shirts surfing shirt and And you must check out this website swim suit swimming suit and swim trunks