Subject: Re: [xsl] XSLT 1.0: Problem grouping disparate unordered data From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 15 Mar 2006 14:15:50 -0500 |
Thanks for that; it hadn't occurred to me to use translate() in that way. (It's one of those days when very few things are occurring to me.) Looking at the actual data I'm working with, a better example would have been using values of @type like:
"Gorilla" "Chimpanzee" "Gorilla Climbing Skyscraper" "Bonobo" "Chimpanzee Riding Unicycle" "Orangutan" "Gorilla Climbing Tree"
... you get the idea. It's difficult to see how to get translate() to work with this, but the idea of creating a fancy sort key of some kind definitely looks promising. I'll have a play around with it until they let me go :-)
Cheers, Wendell
====================================================================== 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 ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT 1.0: Problem groupin, Nick Fitzsimons | Thread | Re: [xsl] XSLT 1.0: Problem groupin, G. Ken Holman |
Re: [xsl] Displaying one section of, Wendell Piez | Date | Re: [xsl] Complex expression, Oleg Konovalov |
Month |