AnsweredAssumed Answered

xslt multiple subsummary parts

Question asked by Malcolm on Oct 19, 2011
Latest reply on Nov 10, 2011 by beverly

I'm using the example xslt for subsummaries provided by Filemaker and found in the XML examples folder and I want to extend it it two ways.

 

My first question is, how do I select thirteen of perhaps twenty columns in a for-each loop?

The first thing I want to do is to generate a sum for more than one column. The example file expects the last column to be numbers and sums them. I have thirteen columns that are going to be numbers and I want to sum each of them independently. That doesn't seem to be too much of a problem, although I haven't succeeded yet. It seems as though I simply need to apply a sum to the correct columns.

 

 

The second thing that I want to do is to do the summary on more than one column, effectively imitating multiple subsummary parts, though the output is html. Is it possible to create nested groups? What is the syntax that I need for this sort of job?

 

Malcolm

Outcomes