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: Thu, 06 Nov 2008 16:00:49 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m263n0a7su.fsf@nwalsh.com>
Toman_Vojtech@emc.com writes:
> I just noticed that the test system-property-001.xml is wrong as well.
> It does this:
>
> <p:string-replace match="/doc/language/@value"
> 		  replace="p:system-property('p:language')"/>
>
> The XProc extension functions are only available in the processor
> context, not when the XPath expression is being evaluated by the step.

Yep. My bad.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | What is more wonderful than the delight
http://nwalsh.com/            | which the mind feels when it *knows*?
                              | This delight is not for anything beyond
                              | the knowing, but is in the act of
                              | knowing. It is the satisfaction of a
                              | primary instinct.--Mark Rutherford

Received on Thursday, 6 November 2008 21:01:35 UTC

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