cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daniel robinson <>
Subject Passing xmap parameters to xsp
Date Wed, 05 Jun 2002 21:06:30 GMT
Ok, I've been struggling with this for hours.

I want to set a parameter in my pipeline something like this:

 <map:match pattern="index">
    <map:generate type="serverpages" src="xsp/w3/index2.xsp"/>
       <map:parameter name="SourcePage" value="Index"/>              <--------
Set it here
   <map:transform src="stylesheets/w3/index2.xsl"/>

and then use it in index2.xsp.  I tried this:

                select * from "Story"
                    "ProjectName" = 'MyProj'
                    "PageName" = '"$SourcePage"'           <----- use it here

Please help.  I've been looking all through the doco - examples etc.   When I
try the above I get an exception when Cocoon attempts to recompile the



Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message