File: Data.xml
A
B
2008-12-12
C
D
2008-11-11
E
F
2008-10-10
File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
preceding-sibling axis.
Preceding-sibling axis.
select="/Employees/Person[3]/DateOfBirth" />
which contains the text "
".
Output:
preceding-sibling axis.
Preceding-sibling axis.
FirstName
which contains the text "
E
".
LastName
which contains the text "
F
".