RE: pass parameters to internal pipeline

2003-03-02 Thread I-Lin Kuo
Thanks. Both Alfred and Marco's suggestion worked. Although it's not as elegant as I'd like, at least I know it can do what I want. Placing the parameters into the request allowed me to bypass the fact that generators don't take parameters I-Lin Kuo, Ann Arbor, MI Original Message Follows-

RE: pass parameters to internal pipeline

2003-03-02 Thread Nathaniel Alfred
Try this: HTH, Alfred. -Original Message- From: I-Lin Kuo [mailto:[EMAIL PROTECTED] Sent: Sonntag, 2. März 2003 13:18 To: [EMAIL PROTECTED] Subject: pass parameters to internal pipeline Is it possible to pass parameters to an internal pipeline? This

Re: pass parameters to internal pipeline

2003-03-02 Thread Brian Johnson
Unfortunately, as long as you are using the cocoon:// protocol, you are going to run into the same problem with passing parameters to the pipeline. Both generators use the resolver to retrieve a SitemapSource, which will place any parameters you pass to it into the objectModel. I think Marco's

Re: pass parameters to internal pipeline

2003-03-02 Thread I-Lin Kuo
The FileGenerator doesn't use any parameters. Maybe the problem is that I'm passing to a FileGenerator. I'm going to try passing to an xsp instead... _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?

AW: pass parameters to internal pipeline

2003-03-02 Thread Marco Rolappe
Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Auftrag von I-Lin Kuo > Gesendet: Sonntag, 2. März 2003 13:18 > An: [EMAIL PROTECTED] > Betreff: pass parameters to internal pipeline > > > Is it possible to pass parameters to an internal pip

Re: pass parameters to internal pipeline

2003-03-02 Thread Brian Johnson
Upon a little closer examination, it appears that passing parameters to the source resolver will only make them available in the objectModel of the sitemap you are calling. I don't know if that will help you or not. Outside of that, it doesn't appear that there is any other mechanism to pass in

Re: pass parameters to internal pipeline

2003-03-02 Thread I-Lin Kuo
What do you want to do with this parameter? The FileGenerator doesn't use any parameters. The TraxTransformer allows you to pass parameters to the stylesheet that can be accessed with xsl:param, but there is no similar function for a generic xml document. I've got my first Cocoon app up and runn

Re: pass parameters to internal pipeline

2003-03-02 Thread Brian Johnson
Ok, I see what you are trying to do... Again though, the FileGenerator doesn't use any parameters that are passed to it. It is possible to extend FileGenerator and override the setup method to pass parameters to the source resolver. I believe this would provide the functionality you are looking

Re: pass parameters to internal pipeline

2003-03-02 Thread Brian Johnson
What do you want to do with this parameter? The FileGenerator doesn't use any parameters. The TraxTransformer allows you to pass parameters to the stylesheet that can be accessed with xsl:param, but there is no similar function for a generic xml document. The FileGenerator simply loads the xml

pass parameters to internal pipeline

2003-03-02 Thread I-Lin Kuo
Is it possible to pass parameters to an internal pipeline? This doesn't work for me: P.S. Just to be sure that I haven't made any dumb mistakes, I've checked that I have a top-level xsl:param in my style sheet getParam.xsl which picks up the parameter from the following pipe