Subject: RE: [xsl] math return result problem From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 5 Apr 2005 18:39:22 +0100 |
Your previous version of the expression had the chance of being right, but we couldn't tell because you didn't show us the whole picture. This version is definitely wrong, because if the context node is an x element then it can't also be a y element. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: 04083259@xxxxxxxxxxxxx [mailto:04083259@xxxxxxxxxxxxx] > Sent: 05 April 2005 18:33 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] math return result problem > > sorry last time i was not clear about my qustion > > is the following valid > i am trying to get (third of the value of x )and (two third > of the value > held in y ) > such :1/3(x)+2/3(y) > > > <xsl:value-of select="(1 div 3 * (self::x)) + (2 div 3 * > (self::y))"/> > > thanks
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] math return result problem, 04083259 | Thread | [xsl] Something similar to managing, Luke Shannon |
[xsl] math return result problem, 04083259 | Date | Re: [xsl] Something similar to mana, Wendell Piez |
Month |