OK, some sloppy copying as well! Originally, this would look like: <map:match pattern="**/*.html"> <map:generate src="{1}/{2}.xml" > > <map:transform src="stylesheets/element.xsl"> > > <map:parameter name="use-request-parameters" value="true"/> > > <map:parameter name="path" value="{1}/{2}"/> > > </map:transform> <map:serialize type="html"/> </map:match>
So besides the request-parameters a paramater named path is also passed to the xsl, which can be helpfull. For instance, you're building a navigation, then the xml and xsl would be the same for each request, and the xsl could then highlight the nav-item that matches path. <snip> > I used this already, but what is the meaning of the second line? > > <map:parameter name="path" value="{1}/{2}"/> > > > > could you be so kind and explain this a little more deeply? > thank you!! > > > Alex > > > > --------------------------------------------------------------------- > 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]> > > --------------------------------------------------------------------- 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]>