[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Boolean XPath Expression and sum
Subject: [xsl] Boolean XPath Expression and sum From: "Alex Reuter" <areuter@xxxxxxxxxxxxxxxx> Date: Wed, 9 May 2001 10:46:49 -0400 |
Hello List, I was wondering if anyone knew a way to either 1. Include a test for content within a template match statement, something like: <xsl:template match="abuncha/thing !='N/A'"> OR 2. Include a test for content within sum() , something like: <xsl:value-of select="sum(//thing !='N/A')"/> I need to sum up the all the values of things where their value is not equal to N/A, and am having a bit of trouble. XML might look like <abuncha> <thing>1</thing> <thing>2</thing> <thing>3</thing> <thing>5</thing> <thing>N/A</thing> </abuncha> Thanks, Alex XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] using lunatech extension, get, Janning Vygen | Thread | Re: [xsl] Boolean XPath Expression , Ingo Schildmann |
Re: [xsl] transforming Content Mark, David Carlisle | Date | Re: [xsl] XSL Processors supporting, jim |
Month |
Keywords