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

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

From: Nikolay Fiykov <nikolay.fiykov@nsn.com>
Date: Thu, 07 Feb 2008 18:20:26 +0200
Message-ID: <47AB2FCA.8010202@nsn.com>
To: public-xml-processing-model-comments@w3.org

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC