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"/>
</map:match>
****************************************************************************
***************************
Here is my XSL:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- 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="/">
<html>
<body>
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>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
---------------------------------------------------------------------
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]>