> mozer writes: > > > And what about this case > > > > <p:for-each> > > <p:variable name="opos" select="p:iteration-position()"/> > > <p:for-each> > > <p:iteration-source select="//div"/> > > <p:string-replace match="/div/@a" > > > replace="concat($opos,',',p:iteration-position())"/> > > </p:for-each> > > </p:for-each> > > You're right wrt that case -- it doesn't work. Wishful thinking on > Norm's part, I think. > 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. VojtechReceived on Thursday, 6 November 2008 12:39:24 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 6 November 2008 12:39:24 GMT