Visit Mozilla.org

XSLT:attribute-set

z Mozilla Developer Center, polskiego centrum programistów Mozilli.

Dokumentacja XSLT/XPath: Elementy XSLT, Funkcje EXSLT, Funkcje XPath, Osie XPath

Spis treści

Element <xsl:attribute-set> 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.

[edytuj] Składnia

<xsl:attribute-set name=NAZWA use-attribute-sets=LISTA-NAZW>
	<xsl:attribute> 
</xsl:attribute-set>

[edytuj] Wymagane atrybuty

name
Określa nazwę zbioru atrybutów. Musi być poprawną wartością QName.

[edytuj] Opcjonalne atrybuty

use-attribute-sets
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.

[edytuj] Typ

Element najwyższego poziomu, musi być dzieckiem <xsl:stylesheet> lub <xsl:transform>.

[edytuj] Definicja

XSLT, sekcja 7.1.4.

[edytuj] Gecko

Obsługuje.