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

Re: xtvd grouping problem (I think)

Subject: Re: xtvd grouping problem (I think)
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 11 Sep 2006 10:26:04 -0400
Re:  xtvd grouping problem (I think)
Bob,

At 10:16 AM 9/9/2006, you wrote:
I think I'm going to have to redo my key arrangement. In other words, if I really want to loop on that <schedule>, then I need my key statements to make that set for me. Which means something like $schedSet select="key('name', $matcher, $ctxt)[MONSTROUS PREDICATE REFERRING TO <tv:program>]

Ick. Is this really worth it to me? That's worth reflecting on. :-)

Things such as what you're suggesting, or (similarly) nasty compound keys etc. are sometimes a necessary evil in XSLT 1.0, but in your case I really think there's a simpler way to do it. Especially in XSLT 2.0. (Which you're using, correct?)


Could you be bothered to restate your problem with a concise example? At a minimum, show us some code for source and desired result.

The English-language description of the problem is good, only not quite enough -- it's enough for us to track your thinking up to this point and say "it looks reasonable" -- to verify you're on the right track. But that's all: to get you over the top, particularly if no errors of XSLT-reasoning jump out, we'd like to demonstrate. Which we can do if we have a realistic (but miniature) example to work over. Add some demo source code to the description, plus even some XSLT that almost works, and you're much more likely to get good help.

The list (like all lists, I imagine) works best if you consider it to be "stateless", even within a thread. Write up your problem so that the XSLT guru who has not been reading can hop right in and help you. It's happened before. (And then she went off to bigger and better things.)

Cheers,
Wendell

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-2011 All Rights Reserved.