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

Re: Passing element nodes through string functions (WAS RE:

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

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.