Mind including a small (but complete enough to show the problem) chunk
from the source XML file, too? My guess is that the problem arises from
the way nodes are nested, but I can't tell without seeing the relevant
portion of the source file.
Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)
04083259(_at_)brookes(_dot_)ac(_dot_)uk
04/05/2005 12:00 PM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
cc
Subject
Spam:[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>
--~--