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

Re: string-replace clarification

From: James Fuller <james.fuller.2007@gmail.com>
Date: Wed, 6 Feb 2008 13:46:10 +0100
Message-ID: <a0ad8ffe0802060446o59a49a27t44664f18bf8cc1fd@mail.gmail.com>
To: Toman_Vojtech@emc.com
Cc: public-xml-processing-model-comments@w3.org

On Feb 6, 2008 1:43 PM,  <Toman_Vojtech@emc.com> wrote:
> What about the following sentence (section 7.1.25, p:string-replace)?
> "If the expression given in the match option matches an attribute, the
> string value of the replace expression is used as the new value of the
> attribute in the output."

this highlights the 'out of band' sort of nature of what people expect
in 'find and replace' type functionality (based on experiences with
text) and XML in general.

I would weakly agree with something along the lines of the above
paragraph ... though we may also want a default option value
controlling this behavior.

Jim Fuller
Received on Wednesday, 6 February 2008 12:46:18 UTC

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