Re: [xsl] Sorting using an element in a comma delimited string value

Subject: Re: [xsl] Sorting using an element in a comma delimited string value
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 14 Mar 2001 18:16:51 +0000
Amarjit,

Have you tried substring-before()? It seems like it should be a fit.

Good luck,
Wendell

At 07:50 PM 3/14/01, you wrote:
Hi:
I am trying to sort and group the following xml document. The output result
should be first sorted and grouped using the first element(eg 299) in the
<SupplierPartAuxiliaryID> tag  value 299,472967,3,,,,,. (comma delimited
string) and then sorted by the value from the <SupplierPartID> tag.

I am having problem extracting the first element from the comma delimited
string.

Could someone help me out ?

Thanks
Amarjit

====================================================================== 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 ======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread