[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: math return result problem

Subject: RE: math return result problem
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 5 Apr 2005 18:14:25 +0100
RE:  math return result problem
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@xxxxxxxxxxxxx [mailto:04083259@xxxxxxxxxxxxx] 
> Sent: 05 April 2005 18:00
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.