[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Passing element nodes through string functions (WAS RE: [xsl] Preserving inline elements when using string functions)


Subject: Re: Passing element nodes through string functions (WAS RE: [xsl] Preserving inline elements when using string functions)
From: Brook Ellingwood <brook@xxxxxxxxxxx>
Date: Thu, 28 Aug 2003 11:18:55 -0700

> Using keys for grouping is known as "muenchian grouping" in hono(u)r of
> Steve Muench who thought of it (Jen's fault for coinng the phrase I
> believe)

You can use the Queen's English with me -- I have a built in
translate($UKjargon, $weirdSpelling, $USjargon) function. I've done some
simple stuff with Mr. Muench's marvelous method in the past, but
complicating it with the mixed nodes pushes it past my current comprehension
level.
 
>> Is the output that I have shown what you expect?
> yes (except for the first blank 1 line which may be a bug in my code,
> or it may be that your uinput really started with a linebreak?

It may be picking up the linebreak between the parent <page> element and the
child <bodytext> element...? No matter, as it doesn't affect the displayed
output.

Thanks for the solution (and thanks to Bill also for his excellent
description and solution). I wasn't too far off in getting the recursion
right -- at one point I had it outputting the proper number of nodes, but
each one repeated the content of the first node. This is tricky stuff, for
sure.

-- Brook


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



Current Thread