cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "I-Lin Kuo" <>
Subject pass parameters to internal pipeline
Date Sun, 02 Mar 2003 12:17:48 GMT
Is it possible to pass parameters to an internal pipeline?

This doesn't work for me:

<map:match pattern="test/ParamToAgg.xml">
  <map:generate src="cocoon:/test/getParam.xml">
    <map:parameter name="paramTest" value="a param value 9876"/>
  <map:serialize type="xml"/>
<map:match pattern="test/getParam.xml">
  <map:generate src="myDev/test/dummy.xml"/>
  <map:transform src="myDev/xsl/getParam.xsl"/>
  <map:serialize type="xml"/>

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 pipeline:

<map:match pattern="test/getParam.xml">
  <map:generate src="myDev/test/dummy.xml"/>
  <map:transform src="myDev/xsl/getParam.xsl">
    <map:parameter name="paramTest" value="1234"/>
  <map:serialize type="xml"/>

I-Lin Kuo, Ann Arbor, MI
Macromedia Certified ColdFusion 5.0 Advanced Developer
Sun Certified Java 2 Programmer
Ann Arbor Java Users Group (

The new MSN 8: smart spam protection and 2 months FREE*

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message