Question

Asked on 2011-05-08 at 18:02:16ID: 27360734

XSLT Select with select variable?

by: mavmanau500

Rating9.0Excellent

HI Guys,

Firstly - thank you for taking the time to read my question!!  I have the following lines which I am trying to implement but it is not working.

<xsl:variable name="scp" select="/query/clientdemo/transaction[account = 16 and tr_payment_date &gt; <xsl:value-of select='/query/clients/month/monthago13'/>"/>

<xsl:value-of select="sum($scp/tr_to_agency)*-1 + sum($scp/tr_to_client)*-1"/>

I then tried this way of going about it, but still no go!!  Could someone please help?

<xsl:variable name="monththirteen" select="/query/clients/month/monthago13"/>
   
 <xsl:variable name="scp" select="/query/clientdemo/transaction[account = 16 and tr_payment_date &gt; $monththirteen"/>

Thank you in advance!!!

Related Solutions

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution

View This Solution - Start Your 30 Day Free Trial
Zone
general
Tags
XSLT XSL
Participating Experts
2
Solution Grade
A

Replies

 by: Gertone

Posted on 2011-05-08 at 22:24:17ID: 36812454

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: graye

Posted on 2011-05-09 at 06:44:20ID: 36812455

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Gertone

Posted on 2011-05-09 at 07:27:26ID: 36812456

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: mavmanau

Posted on 2011-05-10 at 22:28:11ID: 36812457

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Gertone

Posted on 2011-05-10 at 22:30:11ID: 36812458

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: mavmanau

Posted on 2011-05-10 at 23:05:18ID: 36812459

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Log In

Forgot your password?Sign up

Top Experts

  1. mplungjan

    1,840

    0 points yesterday

    Profile

BrowseAre you an Expert?