Hi,
In the sitemap for i18n, the pipeline for the xsp example is defined as
follows
<map:match pattern="**.xsp">
<map:act type="lang-select">
<map:generate type="serverpages" src="{../1}.xsp"/>
<map:transform type="i18n">
<map:parameter name="src" value="translations/{../1}_dict.xml"/>
</map:transform>
</map:act>
<map:transform src="simple.xsl"/>
<map:serialize/>
</map:match>
If i want to add links to my simple.xsp page, i need to use a stylesheet
other than simple.xsl. However, when i change the code
from <map:transform src="simple.xsl"/>
to <map:transform src="{../1}.xsl"/>
i get the following error...
org.apache.cocoon.sitemap.PatternException: error occurred during evaluation
of expression "{../1}.xsl" at position 1 Index: -1, Size: 1
Any advice would be greatly appreciated.
Thanks,
Mohit
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>