xsl-list
[Top] [All Lists]

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

2011-10-03 18:47:54
How right you are - that is exactly the error that made me think text values could not be set with the select attribute.
Thanks,
Mark

-----Original Message----- From: Michael Kay
Sent: Monday, October 03, 2011 3:48 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Providing a value for the 'select' attribute

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--