Re: Dynamically setting the text of an added element in a pipeline . . ?

On 10 March 2011 10:17, Hans-Juergen Rennau wrote:


> The template mechanism is fine, but it is a pity that it is
> only available as a step, not *directly* applicable to
> p:inline.  Hence the extra step, bad readability and verbosity.
> What I would wish for were a template variant of p:inline,
> something like:

> <p:inline-template>
>    <p:with-param name="..." select="..."/>
>    <p:inline>
>       <foo>{$bar}</foo>
>    </p:inline>
> </p:inline-template>

  I don't quite understand.  What's the difference with the
following? :

       <p:input port="template">
             <foo>{ $bar }</foo>
       <p:with-param name="bar" select="..."/>


Florent Georges

Received on Thursday, 10 March 2011 10:12:12 UTC