On 04.Nov.2002 -- 07:43 PM, Phil Craven wrote:
> here is the sitemap segment that shows what I am trying to do. 
> 
>      <map:match pattern="group2.xsp">
>         <map:act type="mod-db-sel" action="sel-ci">
>           <map:parameter name="table-set" value="content_item"/>
>           <map:generate type="serverpages" src="group2.xsp"/>
>           <map:transform src="xsl/dynamic-page2html.xsl"/>
>           <map:transform src="xsl/stupid.xsl">
>             <map:parameter name="use-request-parameters" value="true"/>
>             <use-session-info>true</use-session-info>
>           </map:transform>
>           <map:serialize/>
>         </map:act>
>       <map:read src="finished.html"/>
>               <map:serialize type="html"/>
>       </map:match>
> 
> The kicker is that I can see the values in the logs, but I cannot see the 
> values reflected in the xsl.  On a related not, if I add row-count in as a 
> parameter, then it will show up in the xsl, but no other values will.

Phil, what do you mean with "not in the xsl"? Which xsl?
Sitemap variables are never automatically propagated to any other component.
This needs to be done explicitly e.g. using <map:parameter/>

Results from a database action are available as request attributes as well.

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to