cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Horgan" ...@markhorgan.com>
Subject Logicsheet problems - global XSLT variables
Date Sun, 19 Jan 2003 21:11:53 GMT
I'm having a hard time with logicsheets at the moment. I can't seem to get
global XSLT variables working. Am I doing something wrong?

<xsl:stylesheet version="1.0"...

<xsl:variable name="datasource"><input:get-attribute module="global"
name="datasource" as="string"/></xsl:variable>

nor

<xsl:variable name="datasource">dkitCareers</xsl:variable>

work

<xsl:template match="mh:get-editable-region">
    <xmldb:collection uri="xmldb:xindice:///db/{$datasource}">
    ...
</xsl:template>

I've looked at the generated java code and it's replacing {$datasource} with
nothing

Also, do others find working with Cocoon very frustrating? When you make a
change it takes forever for the web-app to reload and re-compile the java
class, espcially when it takes up so much memory. Also even when using the
logs its very hard to track down bugs in ones code especially logicsheets.
But generally I like Cocoon though I wish it was more straight-forward to
develop with it.

Thx in advance,
Mark



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message