transforming unwanted section
This is an open discussion with 1 reply, filed under XSLT.
Search
Hi Manaus,
It's not matching the section via its attribute - you don't have a template
that matches the corsi-per-tutti
node, so your <xsl:apply-templates select="corsi-per-tutti" />
is applying XSLT's default template which outputs the text content of corsi-per-tutti
.
Create an account or sign in to comment.
Hello,
I have this code http://xpathr.com/view/2961956/
Could someone explain why does the section node gets matched, if I match
<xsl:apply-templates select="corsi-per-tutti" />
?Sure the section node has a handle, but I thought
apply-templates
would match just node names, not attributes...Thank you very much