cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist>
Subject Re: sitemap chaining
Date Tue, 01 Aug 2006 18:23:57 GMT

On Aug 1, 2006, at 11:06 AM, Cindy Girard wrote:

>      <map:match pattern="utc_childrn_*.xml">
>        <map:generate type="file" src="xml/utc/media/childrn/{1}.xml"/>
>           <map:transform type="xslt" src="stylesheets/utc/hltest.xsl">
>           <map:parameter name="use-request-parameters" value="true"/>
>           </map:transform>
>           <map:transform type="xslt" 
> src="stylesheets/utc/utc_display.xsl">
>           <map:parameter name="use-request-parameters" value="true"/>
>           </map:transform>
>        <map:serialize type="html"/>
>           <!-- map:serialize type="xml"/ -->
>      </map:match>
>      The first part is working (when I take out the utc_display.xsl
>      step), but when I add the utc_display transform, I get a blank
>      page. It starts to render it, because it uses the appropriate
>      background jpg, but no text comes out.
>      Is my sitemap wrong?

Probably not... more likely the problem is with your stylesheets.  It 
actually kind of sounds like it could be a namespaces issue.  Can you 
post your utc_display.xsl stylesheet as well as the output from the 


P.S.  I don't like use-request-parameters.  I think you should use 
<parameter name="foo" value="{request-param:foo}", but whatever... 
different strokes for different etc.

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

View raw message