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

[xsl] Reprocess template results in same stylesheet?


Subject: [xsl] Reprocess template results in same stylesheet?
From: Mark Lundquist <ml@xxxxxxxxxxxxxx>
Date: Sun, 4 Jan 2004 20:31:10 -0800

Dear XSL experts,

There is something I find myself wishing I could do in XSLT, but I'm too inexperienced to know if whether it's even sensible. I wish there were a way to apply a template, where instead of the processor writing the template result to the output stream, it would push the result tree back onto the input stream where it would be available for continued processing by the same stylesheet.

My feeling is that this would offer several benefits:

1) Enabling data-driven "pull"-style processing that feels more like document-driven "push"-style processing;
2) Reducing the number of separate stylesheets (and the number of transformations in a Cocoon pipeline) required to achieve certain things.


However, this is all on a pretty intuitive level for me... I don't think I can yet converse intelligently enough about XSLT to really articulate why I think it, nor do I have the time to try. Is there anybody out there who can say, "Yeah, I know exactly what you're talking about, and this would indeed be quite useful"? Or, "I know just what you mean, but unfortunately it wouldn't work the way you'd expect, and here's why..."?

If you have no idea what I'm talking about, just don't bother responding, because I've already explained myself as much as I can. That way, if I get zero responses, I will conclude that I was just clueless to begin with, or that I'm getting what I deserve for not bothering to try to explain the idea any better... :-)

Thanks,
Mark Lundquist



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



Current Thread
Keywords