Subject: RE: [xsl] math return result problem From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 5 Apr 2005 18:14:25 +0100 |
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: [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
Current Thread |
---|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Spam:[xsl] math return re, JBryant | Thread | [xsl] Cannot select a node here: th, chris |
[xsl] Cannot select a node here: th, chris | Date | RE: [xsl] Cannot select a node here, Michael Kay |
Month |