Hi,
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="/">
<xsl:variable name="content"><xsl:call-template
name="test"/></xsl:variable>
<xsl:value-of select="string-length($content)"/>
</xsl:template>
<xsl:template name="test">
<img src="http://path-to-img" width="" height=""/>
</xsl:template>
</xsl:stylesheet>
Why do I get the result "0" at <xsl:value-of
select="string-length($content)"/> ?
If I use <xsl:copy-of select="$content"/> it has content alternatively
nodes.
Best regards