forked from fengbird/JavaWebCoreNote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample11.html
More file actions
161 lines (155 loc) · 8.6 KB
/
example11.html
File metadata and controls
161 lines (155 loc) · 8.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../CSS/tutorial.css">
<title>XPath Tutorial</title>
<link rel="index" href="index.html">
<link rel="previous" href="example10.html">
<link rel="next" href="example12.html">
</head>
<body>
<table xmlns="http://www.w3.org/1999/xhtml" width="100%">
<tr>
<td><span class="mediumText"><b>>> English <<</b> | <a class="naviBlack" target="_self" href="../Output_cze/example11.html">česky</a> | <a class="naviBlack" target="_self" href="../Output_dut/example11.html">Nederlands</a> | <a class="naviBlack" target="_self" href="../Output_fre/example11.html">Français</a> | <a class="naviBlack" target="_self" href="../Output_spa/example11.html">Español</a> | <a class="naviBlack" target="_self" href="../Output_rus/example11.html">По-русски</a> | <a class="naviBlack" target="_self" href="../Output_ger/example11.html">Deutsch</a> | <a class="naviBlack" target="_self" href="../Output_chi/example11.html">中文</a> | <a class="naviBlack" target="_self" href="../Output_ita/example11.html">Italiano</a></span></td>
<td style="text-align:right"><span class="mediumText"><a class="naviBlack" target="_top" href="http://www.zvon.org">ZVON</a>
>
<a class="naviBlack" target="_top" href="http://www.zvon.org/index.php?nav_id=tutorials">Tutorials</a>
>
<b>XPath Tutorial</b></span></td>
</tr>
</table>
<table xmlns="http://www.w3.org/1999/xhtml" class="bar" width="750px" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBlue"><a class="naviWhite" target="_top" href="../General/examples.html">Intro</a>
/
<a class="naviWhite" target="_top" href="http://zvon.org/search.php">Search</a>
/
<a class="naviWhite" target="_top" href="http://www.zvon.org"> ZVON </a></td>
</tr>
</table>
<table class="hangingMenu" border="0" cellpadding="1" cellspacing="0" width="100%">
<tr>
<td><b>>> Example 11 <<</b>
|
<a class="naviBlack" href="example10.html">Prev</a>
|
<a class="naviBlack" href="example12.html">Next</a></td>
</tr>
</table><br><div class="description">The child axis contains the children of the context node. The child axis is the default axis and it can be omitted. </div>
<div><a name="b9b1b5c25"></a>
</div>
<table border="1" cellpadding="5" width="85%">
<tr>
<th>/AAA</th>
</tr>
<tr>
<td>Equivalent of /child::AAA</td>
</tr>
<tr>
<td class="code">
<br> <<span class="elementOn">AAA</span>>
<br> <<span class="element">BBB</span>/>
<br> <<span class="element">CCC</span>/>
<br> </<span class="elementOn">AAA</span>>
</td>
</tr>
<tr>
<td><a target="_top" href="http://www.zvon.org:9001/saxon/cgi-bin/XLab/XML/xpatut_11.html?stylesheetFile=XSLT/xpath.xslt&value=/AAA&lang=eng">Open the example in XLab.</a> | <a href="example11_0_png.html">Tree view (JPG)</a></td>
</tr>
</table>
<div><a name="b9b1b5c27"></a>
</div>
<table border="1" cellpadding="5" width="85%">
<tr>
<th>/child::AAA</th>
</tr>
<tr>
<td>Equivalent of /AAA</td>
</tr>
<tr>
<td class="code">
<br> <<span class="elementOn">AAA</span>>
<br> <<span class="element">BBB</span>/>
<br> <<span class="element">CCC</span>/>
<br> </<span class="elementOn">AAA</span>>
</td>
</tr>
<tr>
<td><a target="_top" href="http://www.zvon.org:9001/saxon/cgi-bin/XLab/XML/xpatut_11.html?stylesheetFile=XSLT/xpath.xslt&value=/child::AAA&lang=eng">Open the example in XLab.</a> | <a href="example11_1_png.html">Tree view (JPG)</a></td>
</tr>
</table>
<div><a name="b9b1b5c29"></a>
</div>
<table border="1" cellpadding="5" width="85%">
<tr>
<th>/AAA/BBB</th>
</tr>
<tr>
<td>Equivalent of /child::AAA/child::BBB</td>
</tr>
<tr>
<td class="code">
<br> <<span class="element">AAA</span>>
<br> <<span class="elementOn">BBB</span>/>
<br> <<span class="element">CCC</span>/>
<br> </<span class="element">AAA</span>>
</td>
</tr>
<tr>
<td><a target="_top" href="http://www.zvon.org:9001/saxon/cgi-bin/XLab/XML/xpatut_11.html?stylesheetFile=XSLT/xpath.xslt&value=/AAA/BBB&lang=eng">Open the example in XLab.</a> | <a href="example11_2_png.html">Tree view (JPG)</a></td>
</tr>
</table>
<div><a name="b9b1b5c31"></a>
</div>
<table border="1" cellpadding="5" width="85%">
<tr>
<th>/child::AAA/child::BBB</th>
</tr>
<tr>
<td>Equivalent of /AAA/BBB</td>
</tr>
<tr>
<td class="code">
<br> <<span class="element">AAA</span>>
<br> <<span class="elementOn">BBB</span>/>
<br> <<span class="element">CCC</span>/>
<br> </<span class="element">AAA</span>>
</td>
</tr>
<tr>
<td><a target="_top" href="http://www.zvon.org:9001/saxon/cgi-bin/XLab/XML/xpatut_11.html?stylesheetFile=XSLT/xpath.xslt&value=/child::AAA/child::BBB&lang=eng">Open the example in XLab.</a> | <a href="example11_3_png.html">Tree view (JPG)</a></td>
</tr>
</table>
<div><a name="b9b1b5c33"></a>
</div>
<table border="1" cellpadding="5" width="85%">
<tr>
<th>/child::AAA/BBB</th>
</tr>
<tr>
<td>Both possibilities can be combined</td>
</tr>
<tr>
<td class="code">
<br> <<span class="element">AAA</span>>
<br> <<span class="elementOn">BBB</span>/>
<br> <<span class="element">CCC</span>/>
<br> </<span class="element">AAA</span>>
</td>
</tr>
<tr>
<td><a target="_top" href="http://www.zvon.org:9001/saxon/cgi-bin/XLab/XML/xpatut_11.html?stylesheetFile=XSLT/xpath.xslt&value=/child::AAA/BBB&lang=eng">Open the example in XLab.</a> | <a href="example11_4_png.html">Tree view (JPG)</a></td>
</tr>
</table>
<div><br><br><br><div>_____________________________________________</div>
<div><a class="smallBlackLink" target="_top" href="http://zvon.org/php/Search/codes.php">Reference Search</a> |
<a class="smallBlackLink" target="_top" href="http://zvon.org/index.php?nav_id=zvonindex">Sitemap</a> |
<a class="smallBlackLink" target="_top" href="http://zvon.org/index.php?nav_id=173">XML Glossary</a>
<a class="smallBlackLink" target="_top" href="http://www.zvon.org">ZVON</a> |
<a class="smallBlackLink" target="_top" href="http://www.systinet.com">Systinet</a></div>
</div>
<!--partners-->
<!--advertisement-->
</body>
</html>