|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Can I use a boolean variable in an xsl:if test
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
________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








