|
Subject: RE: sort problem From: "DuCharme, Robert" <Robert.DuCharme@xxxxxxxxxx> Date: Mon, 24 Jul 2000 11:49:54 -0400 |
>but I don't know how to sort the items by the field punteggio
When I replaced your
<xsl:apply-templates select="parade/personaggio" />
with
<xsl:apply-templates select="parade/personaggio">
<xsl:sort data-type="number" select="@punteggio"/>
</xsl:apply-templates>
and fixed your namespace declaration to use the Rec version of the spec,
Saxon sorted it by the punteggio value. When I changed the namespace
declaration back and tried it with IE 5.00 it didn't sort it, but according
to http://www.vbxml.com/xsl/XSLTRef.asp msxml2 doesn't support xsl:sort, so
maybe that's the MS XML parser installed with my copy of IE. I haven't
worked with IE's XSLT support much.
Bob DuCharme www.snee.com/bob <bob@
snee.com> see www.snee.com/bob/xmlann for "XML:
The Annotated Specification" from Prentice Hall.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Intersection Problem, Carlos Sanchez | Thread | DTP DTD?, JM Destabeaux |
| apply templates with with-param on , petermarshall | Date | Re: [newbie] Conditional Include, Mike Brown |
| Month |