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

Subject: Re: [xsl] Providing a value for the 'select' attribute
From: Liam R E Quin <liam@xxxxxx>
Date: Mon, 03 Oct 2011 20:37:33 -0400
On Mon, 2011-10-03 at 23:48 +0100, Michael Kay wrote:
[...]
> select="'some text'"
> 
> It's easily done - there was an example of the error in the original 
> XSLT 1.0 specification.

I got into the habit of writing that as
  select="string('some text')"
just to make it clearer at a glance what was going on, and what I
intended.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

Current Thread