if else fails in SSIS when applying the xst style sheet

abooysen2
abooysen2 used Ask the Experts™
on
Hi

when i apply my style sheet it fails in statement I am using SSIS

                        <calypso:quantity>
                        <xsl:value-of select="if (transferupload/transfer/Movement < 0 ) then '-1.0' else '1.0'" />
                        </calypso:quantity>
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Gertone (Geert Bormans)Information Architect
Top Expert 2006

Commented:
SSIS is microsoft
microsoft has no support for XSLT2
use the xsl:choose construct I recommended in your other question
Information Architect
Top Expert 2006
Commented:
as I said before, the if statement inside a select attribute is supported only in XSLT2.0

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial