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 running, but it's structured very poorly and I'm exploring reuse possibilities of Cocoon.


There's a search engine part of my code which generates the SQL to the database that I'd like to reuse. I'd like to process request parameters differently based on which part of the site the user comes from, and then pass the processed parameters to my search engine component. I can do this using a selector of course, but that requires me to duplicate code in each branch of the selector, and exposes the internal pipeline of the search engine. I'd like to keep the search engine related pipeline all in one place to keep changes synchronized. It also makes it easier for me to hand this off to someone else and say "to use the search engine, all you have to do is pass these parameters to cocoon:searchengine.xml"

I-Lin Kuo, Ann Arbor, MI
Macromedia Certified ColdFusion 5.0 Advanced Developer
Sun Certified Java 2 Programmer
Ann Arbor Java Users Group (http://www.aajug.org)


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to