On 2/14/06, Thorsten Scherler <[EMAIL PROTECTED]> wrote: > I tried today an example found at > http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html > in an usecase view. > > I added: > <jx:macro name="d"> > <tr><td></td></tr> > </jx:macro> > > and then > <d/> > > to the uscase view but it will not transformed like described in above URL. > > Did somebody used jx:macro with success?
We may need more information to understand. Please add a stripped example that reproduces the issue. When I used JX with Flow, I discovered (what I consider a design flaw) that Cocoon's JX finishes by serializing with a transformation so all angle brackets are converted to "<" and ">". This made it very difficult to return XML and HTML from JX. If it happens before another transformation, the ruined tags could be ignored. Add a "copy everything" match to your XSL, or add a breakpoint immmediately after the JX, to test if what you expect to be XML is being processed as ugly text. solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
