[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 'except' operator on atomic integer values

Subject: Re: 'except' operator on atomic integer values
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Mon, 24 Dec 2007 19:26:24 +0530
Re:  'except' operator on atomic integer values
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@xxxxxxxxxxxxxxxxxx> wrote:
> >>>>> "Mukul" == Mukul Gandhi <gandhi.mukul@xxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.