[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Variables in an index

Subject: RE: [xsl] Variables in an index
From: "Jean-Pierre Lamon" <jpl@xxxxxxxxxx>
Date: Thu, 13 Jun 2013 16:34:04 +0200

Yes it helps, that did the trick :-)
Thank you Ken

-----Message d'origine-----
De : G. Ken Holman [mailto:g.ken.holman@xxxxxxxxx] De la part de G. Ken
Envoyi : mercredi 12 juin 2013 20:32
@ : xsl-list@xxxxxxxxxxxxxxxxxxxxxx; xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Objet : Re: [xsl] Variables in an index

At 2013-06-12 20:09 +0200, Jean-Pierre Lamon wrote:
>I would like to index and sort a node but without some first chars of the
>text. Chars like " [ .
>Is there a solution?

You could remove characters from the value on which the sort is based:

    translate( ., '&quot;[.', '' )

I hope this helps.

.. . . . . Ken

Contact us for world-wide XML consulting and instructor-led training |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm |
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/ |
G. Ken Holman                   mailto:gkholman@xxxxxxxxxxxxxxxxxxxx |
Google+ profile: https://plus.google.com/116832879756988317389/about |
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal |

Current Thread