I think this is a nice idea, but rather than have arbitrary names I'd
prefer something more like:

    <map:transformer type="some-transformer">
      <map:source>
        <map:uri>uri1</map:uri>
        <map:uri>uri2</map:uri>
      </map:source>
    </map:transformer>

Then the transformer would have a "source" parameter that contains an
array of source objects. This could provide consistency across
transformers (or generators and serializers as well).

Ralph


Vadim Gritsenko said:
> Sylvain Wallez wrote:
>>
>> Mmhh... what if other parameters are also URIs?
>
> If src attribute to be interpreted always as a Source object... We could
> add
> map:source as well:
>
>    <map:transformer type="three-source-transformer">
>      <map:source name="first" value=""/>
>      <map:source name="second" value=""/>
>      <map:source name="third" value=""/>
>      <map:parameter name="foo" value="bar"/>
>      ...
>    </map:transformer>
>
>
> Vadim
>
>

Reply via email to