XSLT <xsl:attribute-set> Element
Complete XSLT Element Reference
Definition and Usage
The <xsl:attribute-set> element creates a named set of attributes. The
attribute-set can be applied as whole to the output document.
Note: Must be child of <xsl:stylesheet> or <xsl:transform>.
Syntax
<xsl:attribute-set
name="name" use-attribute-sets="name-list">
<!-- Content:xsl:attribute* -->
</xsl:attribute-set>
|
Attributes
| Attribute |
Value |
Description |
| name |
name |
Required. Specifies the name of the attribute-set |
| use-attribute-sets |
name-list |
Optional. A white space separated list of other attribute-sets
to use in the attribute-set |
Example 1
Create an attribute-set that can be applied to any output element:
<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>
|
Complete XSLT Element Reference

Need an easy way to get data into XML, or transform XML to another format?
MapForce lets you map XML data to/from any combination of XML, database, flat file,
Excel 2007, XBRL, or Web services data. Then it transforms data instantly or
auto-generates royalty-free code for recurrent conversions.
New features in Version 2010!
- Easy-to-use, graphical data mapping interface
- Instant data transformation
- XSLT 1.0/2.0 and XQuery code generation
- Java, C#, and C++ code generation
- Advanced data processing functions
- Support for all major relational databases including SQL Server, IBM DB2, Oracle, and more
- Visual Studio & Eclipse integration
- Available in 32-bit and 64-bit versions
Download a fully-functional trial today!
|
|
|
|