|
Subject: Re: [xsl] alphabetic counters From: Nicholas Shanks <contact@xxxxxxxxxxxxxx> Date: Tue, 11 May 2004 02:27:54 +0100 |
You just need to start thinking in terms of taking a set of nodes and operating on them, rather than in terms of spitting out bits and pieces in order.
for-each select="star"
sort stars
for-each select="planet"
sort planets
if position = 1
<th rowspan="{count(../planet)}"><value-of ../starname></th>
/if
<td>'s go here
/for-each
/for-each I will look at keys tomorrow morning. Must sleep :) Thanks again everyone.
Right now, it seems you are only using one template to control the entire
transformation. Unfortunately, the XSL and the HTML are the only files I can
view from the links below (dtd is in the wrong location, or is referenced
improperly from the xml?):If you want to take a look at everything, these are the URLs: http://astro.nickshanks.com/library/extrasolar.en.html > HTML after processing http://astro.nickshanks.com/library/extrasolar.xml http://astro.nickshanks.com/stylesheets/extrasolar.xsl http://astro.nickshanks.com/dtds/extrasolar.dtd
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] alphabetic counters, Andreas L. Delmelle | Thread | Re: [xsl] alphabetic counters - Sol, Nicholas Shanks |
| RE: [xsl] oracle xsql xslt processo, Steve Muench | Date | [xsl] order-by in WD-xsl?, Myee . Riri |
| Month |