RE: p:namespace-rename & attributes

> 
> No, it isn't. Also, why isn't the from option required?
> 
>                                         Be seeing you,
>                                           norm

I think both from and to options should have a default value:

<p:declare-step type="p:namespace-rename">
  <p:input port="source"/>
  <p:output port="result"/>
  <p:option name="from" select="''"/>  <!-- anyURI -->
  <p:option name="to" select="''"/>    <!-- anyURI -->
  <p:option name="elements-only"/>     <!-- boolean -->
</p:declare-step>

That would make it possible to simplify sentences like:

"If the from option is absent, or its value is the empty string, ..."

Regards
Vojtech

Received on Friday, 23 May 2008 07:26:17 UTC