cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hewko, Doug" <>
Subject How to set up cocoon to pass parameters?
Date Mon, 01 Oct 2001 16:01:22 GMT
How can I set up cocoon to pass parameters from one file to another? For
now, I would be happy having the value of my parameter change when I click
on a link.

I am trying and this is the internal error I get:
2001-10-01 11:34:41 [org.apache.catalina.connector.warp.WarpConnector] Error
accepting requests
Here is my entry in my sitemap.xml file:
   <map:match pattern="test.html">
    <map:generate src="testing/test.xml"/>
    <map:transform src="testing/test.xsl"/>	 
     <map:parameter name="paramtest"/>	
	   <map:serialize type="html"/>	
Here is my XSL:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"

<!-- determine output of transform -->
<xsl:output method="html" encoding="iso-8859-1" indent="yes"/>

<xsl:param name="paramtest" select="on"/>
<!-- master template-->
<xsl:template match="/">
parameter value=<xsl:value-of select="$paramtest"/>
<br /><br />
xml value=<xsl:value-of select="//resource"/>
<xsl:variable name="something">ABC</xsl:variable>
<a href="\cocoon\test.html?paramtest=1234">Click here</a>



Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message