HTML5 time tag
This is an open discussion with 2 replies, filed under General.
Search
If your value can be taken as-is from XML then use curly braces so the XPath is evaluated:
<time datetime="{xpath/to-/your/node}">
If you need to get the value of your call-template
into the attribute, then use an xsl:attribute
element in XSLT:
<time> <xsl:attribute name="datetime"> <xsl:call-template ... /> </xsl:attribute> </time>
Oh so simple :-) Thanks so much Nick!
Create an account or sign in to comment.
Hi guys! How can i set a publish date in attribute datetime.