[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Text Sort Problem

Subject: Text Sort Problem
From: "KrustyDerClown" <KrustyDerClown@xxxxxx>
Date: Thu, 25 Aug 2005 00:17:44 +0200
text sort
Hello,

i have a question about the xsl:sort function in XSLT.

I will sort a couple of data sets according to a text within this data
sets.
I have the following code for this:

<xsl:sort select="my_text" data-type="text"/>

It works fine, but my problem is that all data sets with an empty sequenze,
instead of text, stands on the beginning of the sorted list. But it
should look like this:

MyText
-----------
Text1
Text2
Text3
Text4
X5
(data set with empty sequence)

Is that possible ? Any workaround for me ?

I have a similar problem (with data-type=number) a short time ago ... but the solution at that time doesnt work here for this current problem.

Thank you for your support.

Greets Oliver

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.