A comment has been created.

http://cocoon.zones.apache.org/daisy/legacydocs/511.html

Document ID: 511
Name: Advanced Control Flow - JXTemplate
Branch: main
Language: default

Created by: Andreas Hochsteger
Created on: 1/11/06 8:41:16 AM
Visibility: public

I'm missing the information, how to stream SAX events directly into the 
JXTemplate page.
Here's what I did to stream the cforms labels (I hope the XML syntax comes 
through):

<!-- Define macro for easier usage: -->
<jx:macro name="xmlize-widget-label">
  <jx:parameter name="widget"/>
  <jx:set var="ignored" value="${widget.generateLabel(cocoon.consumer)}"/>
</jx:macro>

<!-- Use somewhere in your page: -->
<xmlize-widget-label value="${widget}"/>