RE: Slight inconvenience of using only @select for options

> / Toman_Vojtech@emc.com was heard to say:
> | I just observed that the removal of the @value attribute 
> from p:option
> | makes using options a bit cumbersome in some cases.
> [...]
> | With the new syntax, the pipeline must be rewritten as follows:
> |
> | <p:identity>
> |   <p:input port="source" select="//chapter"/>
> | </p:identity>
> | <p:wrap-sequence>
> |   <p:with-option name="wrapper" select="'book'">
> |     <p:empty/>
> |   </p:with-option>
> | </p:wrap-sequence>
> 
> I suggest instead:
> 
>  <p:identity>
>    <p:input port="source" select="//chapter"/>
>  </p:identity>
>  <p:wrap-sequence wrapper="book"/>
> 

I agree. For some reason, I just forgot about the shortcut form when I
was writing my previous e-mail :)

Regards,
Vojtech

Received on Wednesday, 23 April 2008 14:14:06 UTC