Subject: Re: [xsl] Choosing different sorts From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 11 Feb 2003 17:45:12 -0500 |
So how can I sort by a variable that hasn't been created or by a value that needs to be calculated when the variable can't be global when the sort line comes first?
<xsl:sort select="(number(substring(@url, (string-length(@url) - string-length('index.html'))+1='index.html')+1)*@weight"/>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Choosing different sorts, Jeni Tennison | Thread | [xsl] Navigating XML Using Attribut, Pilarski,James |
[xsl] I need to sort and then displ, Bill Chmura | Date | RE: [xsl] Navigating XML Using Attr, Michael Semcheski |
Month |