中文字幕一区二区人妻电影,亚洲av无码一区二区乱子伦as ,亚洲精品无码永久在线观看,亚洲成aⅴ人片久青草影院按摩,亚洲黑人巨大videos

XSLT xsl:attribute-set 元素


XSLT 元素參考手冊 完整的 XSLT 元素參考手冊

定義和用法

<xsl:attribute-set> 元素可創(chuàng)建命名的屬性集。該屬性集(attribute-set)可作為整體應(yīng)用到輸出文檔。

注意:必須是 <xsl:stylesheet> 或 <xsl:transform> 的子節(jié)點(diǎn)。


語法

<xsl:attribute-set
name="name" use-attribute-sets="name-list">

<!-- Content:xsl:attribute* -->

</xsl:attribute-set>

屬性

屬性 描述
name name 必需。規(guī)定屬性集(attribute-set)的名稱。
use-attribute-sets name-list 可選。在該屬性集(attribute-set)中使用的其它屬性集(attribute-set)的列表,由空格分隔。

實(shí)例 1

創(chuàng)建可應(yīng)用到任何輸出元素的屬性集(attribute-set):

<xsl:attribute-set name="font">
<xsl:attribute name="fname">Arial</xsl:attribute>
<xsl:attribute name="size">14px</xsl:attribute>
<xsl:attribute name="color">red</xsl:attribute>
</xsl:attribute-set>

XSLT 元素參考手冊 完整的 XSLT 元素參考手冊其他擴(kuò)展