XSLT Guru Needed
This is an open discussion with 2 replies, filed under XSLT.
Search
Nevermind, ya'll.
Chaotic Pattern to the rescue. :)
I'm still curious of how to do it via a node-set, however. If anyone knows.
Create an account or sign in to comment.
Hey guys,
So I'm using Markdown but let's say I wanted all my h3's to have
class="alt"
.I want xslt to do this for me, but I can't seem to figure out the best way to do this.
Right now I'm consolidating a couple of nodes into a variable: seen here because the content consists of three possible sources:
<xsl:template name="page-content"></xsl:template>
Basically, I expected to work with variable
$content
from now on.Now I'm just stuck updating the nodes from the node-set with the right attributes and doing a
<xsl:copy-of select="$content" />