xsl-list
[Top] [All Lists]

Re: [xsl] 'except' operator on atomic integer values

2007-12-24 04:11:42
"Mukul" == Mukul Gandhi <gandhi(_dot_)mukul(_at_)gmail(_dot_)com> 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

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

<Prev in Thread] Current Thread [Next in Thread>