Re: [xsl] XSL2 string result from XSL1 template

Subject: Re: [xsl] XSL2 string result from XSL1 template
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 14 Apr 2009 13:41:07 +0100
  <xsl:variable name="fulltarget" as="xs:string">
    <xsl:call-template name="encode-url">

if you don't mind the named template returning a sequence just use 
 as="xs:string*"

or use

  <xsl:variable name="fulltarget" as="xs:string">
  <xsl:value-of>
    <xsl:call-template name="encode-url">
   </xsl:call-template>
  </xsl:value-of>
  </xsl:variable>

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread