Re: Evaluating replace on string-replace

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