Re: [xsl] Providing a value for the 'select' attribute

Subject: Re: [xsl] Providing a value for the 'select' attribute
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 03 Oct 2011 23:48:54 +0100
On 03/10/2011 22:38, Mark wrote:
Thanks Ken.

Because all the variables I had constructed using the select="some text" idiom seemed to have no value when accessed, I adopted the text node approach. I'll go back and look at my old code now to see if there was another reason for the value-setting failure.
You probably forgot the nested quotes

select="'some text'"

It's easily done - there was an example of the error in the original XSLT 1.0 specification.

Michael Kay
Saxonica

Current Thread