cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <>
Subject using get-string-parameter from logicsheet-util.xsl
Date Mon, 11 Nov 2002 21:55:01 GMT
Are the templates in logicsheet-util.xsl current and
usable from custom logicsheets?

When trying to use passing in parameters to my
logicsheet using get-string-parameter
logicsheet-util.xsl I am getting "Stylesheet directed
termination" which unless I am misunderstanding
indicates that the required parameter was not
successfully found.  Relevant snippets are below.

Snippets (2.1 dev by the way):
In my xsp: 
which fails, but 
<port:areas image-id="24"></port:areas>

In "port.xsl":  
<!-- Namespace URI for this logicsheet -->
<!-- Include logicsheet common stuff -->
<xsl:include href="logicsheet-util.xsl"/>

and the template: 
<xsl:template match="port:areas">
  <xsl:variable name="image-id">
    <xsl:call-template name="get-string-parameter">

... <xsl:copy-of select="$image-id"/>

The reason I wonder about the status is that I see
from digging through the archives that this was
originally introduced as a part of another logicsheet,
and doesn't seem to be used very much in the built-ins
or the hello example - these each have their own (very
similar) methods for accessing parameters.

Geoff Howard

Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos

To unsubscribe, e-mail:
For additional commands, email:

View raw message