xsl-list
[Top] [All Lists]

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

2011-10-03 19:38:13
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/


--~------------------------------------------------------------------
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>
--~--