cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bokluk" <bok...@gmx.net>
Subject collection() error
Date Mon, 30 Jan 2006 22:08:09 GMT
(How) is collection function implemented in cocoon?
I tried following code:

<xsl:for-each select="for $x in
collection('../test/xdocs?select=*.xml;recurse=yes;on-error=warn') return
$x//defnition">
							
	<xsl:sort select="@title"/>

	TITLE=<xsl:value-of select="@title"/><br/>

</xsl:for-each>

And it gave me following error:

Extra illegal tokens: '$', 'x', 'in', 'collection', '(',
''../prosa/xdocs?select=*.xml;recurse=yes;on-error=warn'', ')', 'return',
'$', 'x', '/', '/', 'defnition'

What am I missing?



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


Mime
View raw message