[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Typing variables


Subject: Re: [xsl] Typing variables
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 18 Sep 2012 10:02:38 +0100

On 18/09/2012 09:59, Ihe Onwuka wrote:
Yes but my original question was what was the type of

<xsl:variable name="thing">"<xsl:value-of
select="replace(.,',',concat($quot,',',$quot))"/>"</xsl:variable>


If you use xsl:variable with no as attribute and no select attribute you
get a document() node, in this case a document node with single child
being the concatenation of the atomized values returned by the sequence
selected by xsl:value-of.

David


-- google plus: https:/profiles.google.com/d.p.carlisle

________________________________________________________________________
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