KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a value in xslt and I need to put it into the data-time attribute of the p tag <xsl:value-of select="current()/eventTime" /> <p class="time" data-time="1">Duration: <xsl:value-of select="current()/eventTime" /> hour(s)</p> this creates an error <p class="time" data-time="<xsl:value-of select="current()/eventTime" />">Duration: <xsl:value-of select="current()/eventTime" /> hour(s)</p> any idea how I achieve this?
Tags (comma-separated)
Save Edits
Cancel