Code for Jsp page
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %><%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
Out Examples
$doc/students/student/name/first
$doc/students/student[@id=1]/name/first
select="$doc/students/student[@id=1]/name/first" />
$doc/students/student[@id=2]/name/first
select="$doc/students/student[@id=2]/name/first" />
XML document
A
B
T
88
B
C
D
K
92
A
E
F
A
72
C