Subject: multiple output and grouping From: Luca <lcb@xxxxxxxxxxx> Date: Wed, 15 Nov 2000 19:01:16 +0100 |
I'm trying to generate a set of HTML pages from a single XML document. Basically, my problem has to do with sorting and grouping. The XML source looks like this: <author> <name>...</name> <records> <record>...</record> ... </records> </author> ... That is, I have a list of authors and a list of records associated with each author. What I want to do is sorting the list by author and grouping the authors (with their records) alphabetically in different HTML files, like this: --- output file: A.html --- <html> <body> <h1>A</h1> <h2>[name of an author beginning with the letter A]</h2> [list of records] <h2>[name of the next author beginning with the letter A]</h2> [list of records] ... </body> </html> --- output file: B.html --- <html> <body> <h1>B</h1> <h2>[name of an author beginning with the letter B]</h2> [list of records] ... </body> </html> And so on... I already know how to generate multiple output documents (I'm using Saxon, so I can use saxon:output), but I'm stuck with the grouping problem. I wrote many different stylesheets to accomplish the task but none of them worked. Can you give me any hints? Best regards, Luca XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: some help, please..., Kay Michael | Thread | Re: multiple output and grouping, Jeni Tennison |
RE: some help, please..., Kay Michael | Date | Re: copying CData sections from the, Mike Brown |
Month |