Subject: Re: [xsl] Text Table with sorting From: Ryan Sawatzky <rsawatzky@xxxxxxxxxxx> Date: Thu, 25 Sep 2003 14:51:06 -0500 |
I like this idea, because I would be able to use my current method of indexing to print the line for tables that get sorted and ones that don't. Coming from a C perspective I get to reuse my current funtion! Yeah :).This is a tough problem. To be honest, I'd approach it using two steps: one to do the sorting and the other to arrange the columns. In other words, create an intermediate representation like:
<person> <maritalStatus refDate="1997-01-15">marriage</maritalStatus> <religion refDate="1996-12-02">Lutheran</religion> <maritalStatus refDate="1993-06-24">divorce</maritalStatus> <maritalStatus refDate="1989-04-11">marriage</maritalStatus> <religion refDate="1968-04-05">Roman Catholic</religion> <dateOfBirth>1968-04-05</dateOfBirth> </person>
(which is simply a matter of sorting by @refDate), and then to your
desired output, using your current method of indexing into the three
node-sets of <maritalStatus>, <religion> and <dateOfBirth> elements.
Thanks for your help, --Ryan
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Text Table with sorting, Jeni Tennison | Thread | Re: [xsl] Text Table with sorting, Jeni Tennison |
Re: [xsl] XSL-FO Two A5 pages in a , J.Pietschmann | Date | [xsl] xsl:include needs absolute UR, Gloom Factory |
Month |