cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Topping" <topp...@digidemic.com>
Subject RE: Parameterizing Sitemap with XMLForms
Date Fri, 07 Jun 2002 19:47:04 GMT
> -----Original Message-----
> From: Piroumian Konstantin [mailto:KPiroumian@protek.com]
> Subject: RE: Parameterizing Sitemap with XMLForms
>
> I wonder, how could you experience that? AFAIK nothing has 
> changed since
> I've checked it and it was like: {../1} references the parent pipeline
> element returned params and not the sitemap. Look:
> 
> Request: 
> 	/cocoon/files/page.xml
> 
> Sitemap Entry:
> 	<match pattern="*/*">
> 		<match pattern="*.xml">
> 			<!-- Use {1} to reference the inner matcher '*'
> param = 'page'
> 			  	{../1} - references the {1} in 
> the parent
> matcher = 'files'
> 				{../2} - the {2} in the parent matcher =
> 'page.xml'
> 			-->
> 			<generate src="{../1}" /> 
> 		</match>
> 	</match>
> 
> Note, that there are also {0} params available. See 
> sitemap.log to get what
> are the available params and their values for every request.

What am I missing here?

For above, I agree on {1}.  I don't agree on the others.  Methinks:

{../1} = 'cocoon'
{../2} = 'files'
{0} = 'page.xml'
{../0} = 'cocoon/files'

a little confused... am I wrong?

-b

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message