You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<description>An in-depth look at creating applications with XML.</description>
186
+
</book>
187
+
<bookid="bk102">
188
+
<title>Midnight Rain</title>
189
+
<author>Ralls, Kim</author>
190
+
<genre>Fantasy</genre>
191
+
<price>5.95</price>
192
+
<publish_date>2000-12-16</publish_date>
193
+
<description>A former architect battles corporate zombies, an evil sorceress, and her own childhood to become queen of the world.</description>
194
+
</book>
195
+
<bookid="bk103">
196
+
<title>Maeve Ascendant</title>
197
+
<author>Corets, Eva</author>
198
+
<genre>Fantasy</genre>
199
+
<price>5.95</price>
200
+
<publish_date>2000-11-17</publish_date>
201
+
<description>After the collapse of a nanotechnology society in England, the young survivors lay the foundation for a new society.</description>
202
+
</book>
203
+
<bookid="bk104">
204
+
<title>Oberon's Legacy</title>
205
+
<author>Corets, Eva</author>
206
+
<genre>Fantasy</genre>
207
+
<price>5.95</price>
208
+
<publish_date>2001-03-10</publish_date>
209
+
<description>In post-apocalypse England, the mysterious agent known only as Oberon helps to create a new life for the inhabitants of London. Sequel to Maeve Ascendant.</description>
210
+
</book>
211
+
<bookid="bk105">
212
+
<title>The Sundered Grail</title>
213
+
<author>Corets, Eva</author>
214
+
<genre>Fantasy</genre>
215
+
<price>5.95</price>
216
+
<publish_date>2001-09-10</publish_date>
217
+
<description>The two daughters of Maeve, half-sisters, battle one another for control of England. Sequel to Oberon's Legacy.</description>
218
+
</book>
219
+
<bookid="bk106">
220
+
<title>Lover Birds</title>
221
+
<author>Randall, Cynthia</author>
222
+
<genre>Romance</genre>
223
+
<price>4.95</price>
224
+
<publish_date>2000-09-02</publish_date>
225
+
<description>When Carla meets Paul at an ornithology conference, tempers fly as feathers get ruffled.</description>
226
+
</book>
227
+
<bookid="bk107">
228
+
<title>Splish Splash</title>
229
+
<author>Thurman, Paula</author>
230
+
<genre>Romance</genre>
231
+
<price>4.95</price>
232
+
<publish_date>2000-11-02</publish_date>
233
+
<description>A deep sea diver finds true love twenty thousand leagues beneath the sea.</description>
234
+
</book>
235
+
<bookid="bk108">
236
+
<title>Creepy Crawlies</title>
237
+
<author>Knorr, Stefan</author>
238
+
<genre>Horror</genre>
239
+
<price>4.95</price>
240
+
<publish_date>2000-12-06</publish_date>
241
+
<description>An anthology of horror stories about roaches, centipedes, scorpions and other insects.</description>
242
+
</book>
243
+
<bookid="bk109">
244
+
<title>Paradox Lost</title>
245
+
<author>Kress, Peter</author>
246
+
<genre>Science Fiction</genre>
247
+
<price>6.95</price>
248
+
<publish_date>2000-11-02</publish_date>
249
+
<description>After an inadvertant trip through a Heisenberg Uncertainty Device, James Salway discovers the problems of being quantum.</description>
250
+
</book>
251
+
<bookid="bk110">
252
+
<title>Microsoft .NET: The Programming Bible</title>
253
+
<author>O'Brien, Tim</author>
254
+
<genre>Computer</genre>
255
+
<price>36.95</price>
256
+
<publish_date>2000-12-09</publish_date>
257
+
<description>Microsoft's .NET initiative is explored in detail in this deep programmer's reference.</description>
258
+
</book>
259
+
<bookid="bk111">
260
+
<title>MSXML3: A Comprehensive Guide</title>
261
+
<author>O'Brien, Tim</author>
262
+
<genre>Computer</genre>
263
+
<price>36.95</price>
264
+
<publish_date>2000-12-01</publish_date>
265
+
<description>The Microsoft MSXML3 parser is covered in detail, with attention to XML DOM interfaces, XSLT processing, SAX and more.</description>
266
+
</book>
267
+
<bookid="bk112">
268
+
<title>Visual Studio 7: A Comprehensive Guide</title>
269
+
<author>Galos, Mike</author>
270
+
<genre>Computer</genre>
271
+
<price>49.95</price>
272
+
<publish_date>2001-04-16</publish_date>
273
+
<description>Microsoft Visual Studio 7 is explored in depth, looking at how Visual Basic, Visual C++, C#, and ASP+ are integrated into a comprehensive development environment.</description>
Copy file name to clipboardExpand all lines: docs/xslt/xsl-apply-templates.md
+129-5
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
## Синтаксис
8
8
9
-
### XSLT 1.0, XSLT 2.0 и XSLT 3.0
10
-
11
9
```xml
12
10
<xsl:apply-templates
13
11
select = "выражение"
@@ -18,8 +16,11 @@
18
16
19
17
Атрибуты:
20
18
21
-
-`select` — _необязательный_ атрибут, выражение вычисляет набор узлов к которым применяются преобразования. Если атрибут не задан — преобразования применяются ко всем потомкам текущего узла, включая текстовые.
22
-
-`mode` — _необязательный_ атрибут, указывает имя режима преобразования.
19
+
`select`
20
+
: _необязательный_ атрибут, выражение вычисляет набор узлов к которым применяются преобразования. Если атрибут не задан — преобразования применяются ко всем потомкам текущего узла, включая текстовые.
21
+
22
+
`mode`
23
+
: _необязательный_ атрибут, указывает имя режима преобразования.
23
24
24
25
## Описание и примеры
25
26
@@ -166,6 +167,129 @@
166
167
167
168
Начиная с шаблона `match="/"`, наша таблица стилей генерирует выходной документ вызовами разных шаблонов с тремя режимами `mode`. Три режима форматируют одну и ту же информацию тремя разными способами. В итоге таблица стилей создает тот же документ HTML, что и предыдущая таблица стилей.
0 commit comments