Subject: Re: 'except' operator on atomic integer values
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Dec 2007 11:11:11 +0000
|
>>>>> "Mukul" == Mukul Gandhi <gandhi.mukul@xxxxxxxxx> writes:
Mukul> Is it possible to cast atomic values like integers above to
Mukul> a suitable node, so that except operator works on such data
Mukul> ?
You can use a temporary tree.
Something like:
<xsl:variable name="integers">
<one>1</one>
<two>2</two>
<three>3</three>
</xsl:variable>
Now your set of 1,2,3 can be coded as:
($integers/one, $integers/two, $integers/three)
--
Colin Adams
Preston Lancashire
|