Sean Regan's Development Blog
A resource for tips and solutions involving SharePoint and .NET Development
Pages
Home
Vivity Consulting
Friday, April 20, 2012
XSLT adding values to HTML tags
Two techniques for adding a value to an HTML tag:
1. Shorthand: <img src="{@Image}" />
2. Longhand:
<img>
<xsl:attribute name="src">
<xsl:value-of select="@Image"/>
</xsl:attribute>
</img>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment