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

Re: Evaluating replace on string-replace

From: mozer <xmlizer@gmail.com>
Date: Tue, 4 Nov 2008 16:33:44 +0100
Message-ID: <21d9ade60811040733w1c2eeb53j6ae157e5dbd67a0f@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-comments@w3.org

hum...this one is not ok either since $opos is not bounded at this place...

Xmlizer

On Tue, Nov 4, 2008 at 4:26 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> mozer <xmlizer@gmail.com> writes:
>
>>>      <p:with-option name="replace"
>>>                     select="concat($opos,',',p:iteration-position())"/>
>>
>> should raise an error (since we take the string value for the replacement)
>
> Yes, I think you and Vojtech are right. What's more, I should have
> simply said:
>
>  <p:string-replace replace="concat($opos,',',p:iteration-position())" .../>
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | An ill-humoured man is a prisoner at
> http://nwalsh.com/            | the mercy of an enemy from whom he can
>                              | never escape.-- Sa'di
>
Received on Tuesday, 4 November 2008 15:34:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 4 November 2008 15:34:20 GMT