W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2008

RE: Slight inconvenience of using only @select for options

From: <Toman_Vojtech@emc.com>
Date: Wed, 23 Apr 2008 10:12:57 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870AC4255F@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-wg@w3.org>

> / 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 April 2008 14:14:07 GMT