Roelof,
Check the xpath expression in your xsl file, do they really match the elements
you think they should match.
Op 12 dec 2011, om 13:25 heeft Roelof Wobben het volgende geschreven:
<xsl:template match="section/entry">
<div class="post">
<h3><xsl:value-of select="title"/> </h3>
<div class="post-inner">
<xsl:apply-templates select="data/section/entry/body/text()"
/>
</div>
</div>
</xsl:template>
In this template you're in the context of entry.
So the <xsl:apply-templates select="data/section/entry/body/text()"/> is
matching nothing.
Just do <xsl:apply-templates select="body"/>
And I would change the template to
<xsl:template match="body">
<xsl:call-template name="make-verbatim">
<xsl:with-param name="text" select="text()"/>
</xsl:call-template>
</xsl:template>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--