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

Re: Evaluating replace on string-replace

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 04 Nov 2008 10:26:03 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2skq7qzqs.fsf@nwalsh.com>
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:27:02 GMT

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