xsl-list
[Top] [All Lists]

RE: math return result problem

2005-04-05 10:14:25
You need to show the XML source document, and to tell us what the context
node is. It would help also to say what result you expected and what result
you actually got.

Michael Kay
http://www.saxonica.com/

-----Original Message-----
From: 04083259(_at_)brookes(_dot_)ac(_dot_)uk 
[mailto:04083259(_at_)brookes(_dot_)ac(_dot_)uk] 
Sent: 05 April 2005 18:00
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] math return result problem

ther is a problem in the following xslt1.0 transformation
it dose not return the 1/3*( ...)  and  2/3*(....) operation

<x><xsl:value-of select="(1 div 3 *
(current()/preceding-sibling::*[1]/child::x[position()=last()]
)) + (2 div
3  * (x[1]))"/></x>

any help please


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





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