Subject: Re: [xsl] Using variables or parameters in tests From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 02 Mar 2005 11:03:00 -0500 |
datetest = (date >= 20050228)
variables hold values not expressions, so you while this
<xsl:value-of select="sum(/statement/item[$datetest and $electricitytest]/amount)"/>
is legal; $datetest would be a constant holding whatever value it is bound to, it wouldn't get a new value relative to each item node.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Using variables or parame, David Carlisle | Thread | [xsl] xhtml2fo.xsl not processing m, Random Blackburn |
RE: [xsl] newbie question concernin, Pieter Reint Siegers | Date | Re: [xsl] newbie question concernin, Emmanouil Batsis |
Month |