XSLT <xsl:attribute-set> အက္ခရာ
အသုံးပြုခြင်း နှင့် အပြုအရင်
<xsl:attribute-set> အက္ခရာအသင်း ကို အမည်တပ်ထားသော အက္ခရာအသင်း ဖွဲ့စည်းနိုင်သည်။ အက္ခရာအသင်း (attribute-set) ကို အပြည့်အဝါ အသုံးပြုနိုင်ပါ
အစီရင်ခံစာ:သတ်မှတ်ခြင်း: <xsl:stylesheet> သို့မဟုတ် <xsl:transform> မှာ အပါအဝင်သည့် အသုံးပြုရမည်
အက္ခရာ
<xsl:attribute-set name="name" use-attribute-sets="name-list"> </xsl:attribute-set>
属性
属性 | 值 | 描述 |
---|---|---|
name | name | 必需。规定属性集的名称。 |
use-attribute-sets | name-list | 可选。在该属性集中使用的其它属性集的列表,由空格分隔。 |
အကျိုးသတ္တု
ဘာသာ 1
ကိုယ်စားပိုင် အခွင့်အရေး အသုံးပြုရသော အရာ အား ပြန်လည်ပေးထားသော အခွင့်အရေး (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>