I am trying to implement the following in my own XML:
http://blog.logiclabz.com/xml-xslt/title-case-proper-case-template-function-in-xslt.aspx

So I have (from the link above):
Code:
<xsl:template name="TitleCase"> 
...
</xsl:template>
And:
Code:
<xsl:template match="trip">
<xsl:element name="tour">
...

<xsl:call-template name="TitleCase">
<xsl:copy-of select="./title"/>
</xsl:call-template>

...
</xsl:element>
</xsl:template>
Visual Studio tells me:
"Error 'xsl:copy-of' cannot be a child of the 'xsl:call-template' element."