apache coccoon - XSLT dynamically set count in paged transform? -
is possible dynamically set value of "count" param below?
<map:transform type="filter" label="paged"> <map:parameter name="use-request-parameters" value="true" /> <map:parameter name="element-name" value="course" /> <map:parameter name="count" value="20" /> <map:parameter name="blocknr" value="{1}" /> </map:transform>
for instance, if delete following line above:
<map:parameter name="count" value="20" />
and create hidden field in form calls transform uses filter:
<input type="hidden" name="count" value="40" />
then grab param when i'm in transform uses filter:
<xsl:param name="count" />
shouldn't xsl:template match="block" able use count param passed in form?
it's not working me outlined above, wanted see if knows if it's possible.
thanks
assuming <map:parameter name="count" value="20" />
literal result element can use <map:parameter name="count" value="{$count}" />
make use of xslt parameter or variable named count
.
Comments
Post a Comment