XSLT <xsl:attribute> Element
Complete XSLT Element Reference
Definition and Usage
The <xsl:attribute> element is used to add attributes to elements.
Note: The <xsl:attribute> element replaces existing
attributes with equivalent names.
Syntax
<xsl:attribute name="attributename" namespace="uri">
<!-- Content:template -->
</xsl:attribute>
|
Attributes
| Attribute |
Value |
Description |
| name |
attributename |
Required. Specifies the name of the attribute |
| namespace |
URI |
Optional. Defines the namespace URI for the attribute |
Example 1
Add a source attribute to the picture element:
<picture>
<xsl:attribute name="source"/>
</picture>
|
Example 2
Add a source attribute to the picture element and fill it with values from
"images/name" :
<picture>
<xsl:attribute name="source">
<xsl:value-of select="images/name" />
</xsl:attribute>
</picture>
|
Example 3
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
What do you want your Web site to do?
Ektron’s new
Extranet for Client Collaboration is designed to manage documents and timelines while facilitating collaboration among
your internal and external project stake holders.
|
 |
Features include:
 |
|
Client authentication using Ektron's robust membership module, allowing you to add, manage and notify your project stake holders |
 |
|
Project Status Dashboard allowing for visual navigation across all aspects of your project, efficiently and effectively from one single location |
 |
|
Wiki Scribble Pad for tracking major additions, changes or other related announcements for your project teams |
 |
|
Discussion forums and message boards to facilitate conversations within a non real-time environment |
 |
|
Integrated Document Management allowing you to maintain a complete history and audit trail of all documents that can affect the success of your project |
 |
|
Milestone Tracking with Outlook synchronization ensuring all your goals and deadlines are met |
 |
|
Public and Private Blogs for further extending communication across the team regarding status, feature creep or other external changes |
See why there are 20,000+ Ektron integrations worldwide.
Click here to learn more, then request a live online
demo or download a FREE TRIAL
|