xsl-list
[Top] [All Lists]

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

2007-12-24 06:56:52
Now I understand your idea.

This works ...

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                        version="2.0">

 <xsl:output method="text" />

 <xsl:template match="/">
  <xsl:variable name="integers">
    <one>1</one>
    <two>2</two>
    <three>3</three>
  </xsl:variable>

  <xsl:value-of select="($integers/one, $integers/two,
$integers/three) except ($integers/one, $integers/two)" />

 </xsl:template>

</xsl:stylesheet>

Thanks Colin.

I want to take this opportunity to wish all xsl-list members a very
Merry Christmas and a great New Year ahead.


On Dec 24, 2007 7:02 PM, Colin Paul Adams 
<colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk> wrote:
"Mukul" == Mukul Gandhi <gandhi(_dot_)mukul(_at_)gmail(_dot_)com> 
writes:

   Mukul> Do you have any ideas, how to resolve this issue?

Yes, each element must be in it's own variable.

--
Colin Adams
Preston Lancashire



-- 
Regards,
Mukul Gandhi

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