Re: [xsl] xsl:variable

Subject: Re: [xsl] xsl:variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 2 Jun 2006 15:48:00 +0100
> is it possible

in XSLT2 yes.

In XSLT1 an arbitrary restriction means that the variable
is called a result tree fragment rather than a node set (the only
difference being that you can't do what you want to do) most procesoors
have an xx:node-set extension function that alows you to go
select="xx:node-set($options)/option[@value='xxxxx']"/>
where xx is bound to whatever namespace they need: eiether a
system-specific namespace or EXSLT namespace.

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
________________________________________________________________________

Current Thread