xsl-list
[Top] [All Lists]

Re: [xsl] Variables in an index

2013-06-12 13:32:32
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( ., '"[.', '' )

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(_at_)CraneSoftwrights(_dot_)com 
|
Google+ profile: https://plus.google.com/116832879756988317389/about |
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal |


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>