Re: A few items cherry-picked from comment #54 - proposal for p:label-elements

Ok. I'm settled.

ext Alex Milowski wrote:
> On 2/7/08, Nikolay Fiykov <nikolay.fiykov@nsn.com> wrote:
>   
>> About the context node:
>> Is there any reason why this won't be actually "any XPath" expression on
>> top of the input document rather than the context node?
>> This would limit the applicable use cases to only trivial ones.
>> Optimization wishes would still be valid, the processor can determine
>> whether this is context node, document or none of them in the same way.
>>     
>
> The context node has to be the matched element.  That allows you to have
> simple expressions like computing the label from attributes present on
> the matched element.
>
> That does not limit the XPath expression.  The XPath expression that you
> provide in the 'label' option is not limited at all.
>
>   
>> About the replacing the value if present:
>> Can this be configurable option in form of true/false?
>>     
>
> Certainly possible.  If false, it must either be ignored or an error.
> I'd vote for
> ignored.
>
> The default should be 'true' (replace the value).
>
>
>   

Received on Thursday, 7 February 2008 16:21:18 UTC