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

Re: for-each-group and result-document splitting to le

Subject: Re: for-each-group and result-document splitting to less files.
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 10 Sep 2008 14:21:02 -0400
Re:  for-each-group and result-document splitting to le
James,

At 01:02 PM 9/10/2008, you wrote:
function snipped
-- though makes me curious... how hard would it be to change this so
that the groupings were based on the count() of items in the nodeset?
i.e. make divisions that were basically equal regardless of the input?
 So if there were almost no entries in the first half of the alphabet,
the first division would be a-r, then s-t (if a lot there), then u-w
(if few there), etc.  maybe passing how many sets to split it into
total?

Fun. (Hats off to Mike.)


> BTW, why the double-escaping of '&amp;amp;'? I can't see how that would do
> anything for you. The processor will see only the string '& a m p ;' here,
> which translate() will decompose into characters.

I have no idea how that ended up like that in my post, it isn't like
that in my actual XSLT.... weird. Unless I mistyped it and then
corrected it after pasting, or pasting into gmail did something weird.
More likely the former.

Quite possibly. What a relief (I think).


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

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.