Subject: [xsl] different crosstables from xml data From: friepoertner <friepoertner@xxxxxxxxxxxxx> Date: Tue, 23 Oct 2001 12:40:08 +0200 |
I have to generate html crosstables with different headers from xml-files using xsl stylesheets.
<crosstab title="area" sum_col="1" sum_row="1" absolute="1" relative="1"> <row title="north"> <column title="gender"> <column title="male"> <column title="abs." type="absolute">20</column> <column title="rel." type="relative">40</column> </column> <column title="female"> <column title="abs." type="absolute">30</column> <column title="rel." type="relative">60</column> </column> </column> <column title="foo"> [...] </row> <row title="east"> <column title="gender"> <column title="male"> [...]
the output should create tables with the right col- and rowspan as well as optional sum-column / sum-row. When there is only one option absolute/relative selected, the header row 'abs' or 'rel' should be ignored.
How can I get the colspan / rowspan information? Has someone done this before? Or should I generate different XML-Source for a better xslt processing?
-- Ingo Friepoertner friepoertner@xxxxxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Sorting out doublettes..., David Carlisle | Thread | Re: [xsl] different crosstables fro, Jeni Tennison |
[no subject], David Carlisle | Date | Re: [xsl] Re:Re: Joining two XML-fi, Jeni Tennison |
Month |