RE: [xsl] Beginner's question: Mathematical Calculations in XSL Template

Subject: RE: [xsl] Beginner's question: Mathematical Calculations in XSL Template
From: Mark Nahabedian <naha@xxxxxxxxxx>
Date: Wed, 21 Nov 2001 12:57:32 -0500
Michael Kay writes:
 > > Everything that I am finding when I search on-line for help in
 > > performing mathematical calculations in xsl gives me an example like I
 > > sent previously.  Unfortunately, I can't find anyone in my company
 > > actually here right now to approve me buying an xsl book.  Therefore,
 > > I'm stuck.
 > Your problem is that you are trying to process XSLT stylesheets through a
 > non-XSLT processor. First step is to get yourself an XSLT processor.
 > And as the author of an XSLT book I might be biased, but I'm not going to
 > spend a lot of my and my company's time answering questions that were only
 > necessary because you weren't prepared to spend a bit of your or your
 > company's money on a decent reference book.

It's unfortunate that lists like this often get requests that take the
general form "Help!  Please fo my job for me."

I will be helpful and note that the syntax of XPath arithmetic
expressions is documented in the XPath specification at

I'll also note that I've never expected my employer to buy a book for
me.  I've always figured that my employer paid me enough as a software
developer that I could occasionally afford the cost of a reference

 XSL-List info and archive:

Current Thread