This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: arbitrary sorting (Part IV)
- To: xsl-list at mulberrytech dot com
- Subject: Re: arbitrary sorting (Part IV)
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Thu, 20 Jul 2000 12:06:04 +0200 (MET DST)
- Reply-To: xsl-list at mulberrytech dot com
Hello,
another variant ...
Suppose, my month table simply looks like
<monthtab>
<entry>Jan</entry>
<entry>Feb</entry>
<entry>Mar</entry>
...
</monthtab>
I want to sort my elements (<element month="Jul">...</element>) in the
same order as in <monthtab>. Note: there's no explizit number given in
monthtab. Any ideas how to solve that?
(perhaps by using position() somehow ...)
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list