Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] for-each-group and result-document splitting to less files.

From: Wendell Piez <wapiez@---------------->
To:
Date: 9/10/2008 6:26:00 PM
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
======================================================================


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent