aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/xslt/element/attribute-set/index.html
blob: 878e94e6d725141cf725f55296e10156a6da8cb4 (plain)
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
---
title: attribute-set
slug: Web/XSLT/Element/attribute-set
tags:
  - Dokumentacje
  - Wszystkie_kategorie
  - XSLT
  - XSLT:Dokumentacje
translation_of: Web/XSLT/Element/attribute-set
original_slug: Web/XSLT/attribute-set
---
<p>
{{ XsltRef() }}
</p><p>Element <code>&lt;xsl:attribute-set&gt;</code> tworzy nazwany zbiór atrybutów, który może być zastosowany jako całość do dokumentu wyjściowego w sposób podobny do stylów w CSS.
</p>
<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia"> Składnia </h3>
<pre>&lt;xsl:attribute-set name=NAZWA use-attribute-sets=LISTA-NAZW&gt;
	&lt;xsl:attribute&gt;
&lt;/xsl:attribute-set&gt;</pre>
<h3 id="Wymagane_atrybuty" name="Wymagane_atrybuty"> Wymagane atrybuty </h3>
<dl><dt><code>name</code>
</dt><dd>Określa nazwę zbioru atrybutów. Musi być poprawną wartością QName.
</dd></dl>
<h3 id="Opcjonalne_atrybuty" name="Opcjonalne_atrybuty"> Opcjonalne atrybuty </h3>
<dl><dt><code>use-attribute-sets</code>
</dt><dd>Buduje zbiór atrybutów z innego zbioru atrybutów. Nazwy tych zbiorów muszą być oddzielone za pomocą białych znaków (whitespace) i nie mogą bezpośrednio lub pośrednio osadzać się nawzajem.
</dd></dl>
<h3 id="Typ" name="Typ"> Typ </h3>
<p>Element najwyższego poziomu, musi być dzieckiem <code>&lt;xsl:stylesheet&gt;</code> lub <code>&lt;xsl:transform&gt;</code>.
</p>
<h3 id="Definicja" name="Definicja"> Definicja </h3>
<p>XSLT, sekcja 7.1.4.
</p>
<h3 id="Gecko" name="Gecko"> Gecko </h3>
<p>Obsługuje.
</p>{{ languages( { "en": "en/XSLT/attribute-set", "es": "es/XSLT/attribute-set", "fr": "fr/XSLT/attribute-set" } ) }}