I have the following code. <!-- Error func --> <xsl:template name="myFunc"> <xsl:param name="person"/> <xsl:variable name="name"> "name": "<xsl:value-of select="$person/name"/>", </xsl:variable> <xsl:value-of select="$name"/> </xsl:template> <!-- Call function --> <xsl:template match="/"> <xsl:call-template name="myFunc"> <xsl:with-param name="person" select="list/person"/> </xsl:call-template> </xsl:template> I'm using the variable for something more complicated, but so far I can't even get [...] read more