cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist>
Subject Re: aggregating a flowscript-page
Date Mon, 11 Dec 2006 18:59:34 GMT

On Dec 11, 2006, at 9:54 AM, sven goosen wrote:

> What i miss in your sitemap, is the part where you tell cocoon that 
> the page is a jx script page.
> thus:
>  <map:match pattern="*.jx">
>   <map:generate type="jx" src="scripts/{1}.jx"/>
>   <map:serialize type="xml"/>
>  </map:match>
> Where is this being parsed? or how do you tell cocoon that *.jx pages 
> must be parsed with jx-scripts. Or can i just put this match in the 
> last part you pasted?

Yes, you need a matcher like the above to get JXTG pages generated.  
But NB this is totally uninvolved in the sitemap plumbing that does the 
aggregation and styling transformations.  Remember you are not 
"aggregating a JX page" per se.  You are aggregating the result of 
calling a flowscript function, and a matcher that handles that was 
shown in my example.

HTH :-)

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

View raw message