xsl-list
[Top] [All Lists]

Re: Can I use a boolean variable in an xsl:if test

2005-02-09 04:01:05

Michael
We've removed some of the worst "surprises" in the light of experience,

Yes I think it's looking reasonably good now.
I was going to try to sketch the main points in my mail last night but
it was late and I thought I'd probably get it wrong:-)

Andrew
Of course, if there is another sequence related area to get burned on
please post an example - it's good to know the gotchas up front.

It wasn't really the "first node" semantics I was refering to so much as
the difference between 

<xsl:variable name="x" select="('a','b','c')"/> 
A sequence of strings

and 
<xsl:variable name="y" as="item()">
 <xsl:value-of select="a"/>
 <xsl:value-of select="b"/>
 <xsl:value-of select="c"/>
</xsl:variable>
a sequence of text nodes.


David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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