Re: [Gestalt-users] Memo functions
Status: Alpha
Brought to you by:
colin-adams
From: Colin P. A. <co...@co...> - 2007-05-07 14:00:56
|
>>>>> "Florent" =3D=3D Florent Georges <dar...@ya...> writes: Florent> Colin Paul Adams wrote: Hi >> I have changed the non-compliant gexslt:memo-function extension >> attribute to do nothing but issue a warning message. >> Instead I have introduced the extension instruction >> gexslt:function. Florent> If I remember correctly the discussion we had on XSL Florent> List, the attribute is not conmpliant because an Florent> extension attribute cannot change the behaviour of an Florent> XSLT instruction in anyway. Well that is almost correct. An extension attribute may change the behaviour, but only to the extent that the behaviour is implementation defined. That is not the case with a memo function. >> This is identical to xsl:function except that it memoizes the >> result just like specifying gexslt:memo-function=3D"yes" used to >> do. Florent> Instead of defining gexslt:function to have the exact Florent> meaning of xsl:function with memoizing in addition, why Florent> not defining it to have the exact form/meaning of Florent> xsl:function, but with additional attributes (at the Florent> moment just @memo-function or @memoize). Florent> That would make it possible to add another extension Florent> attribute to gexslt:function, without interfering with Florent> its memoization behaviour: Florent> <!-- Maybe additional non-standard attributes... --> Florent> <gexslt:function name=3D"..." memoize=3D"true"> ... Florent> </gexslt:function> I can still do that in the future, without loss of compatibility (memoize would default to true) if I wish to. =20=20=20=20=20=20 Florent> ______________________________________________________________= _____________ Florent> D=E9couvrez une nouvelle fa=E7on d'obtenir des r=E9ponses =E0 Florent> toutes vos questions ! Profitez des connaissances, des Florent> opinions et des exp=E9riences des internautes sur Yahoo! Florent> Questions/R=E9ponses http://fr.answers.yahoo.com Florent> --------------------------------------------------------------= ----------- Florent> This SF.net email is sponsored by DB2 Express Download Florent> DB2 Express C - the FREE version of DB2 express and take Florent> control of your XML. No limits. Just data. Click to get Florent> it now. http://sourceforge.net/powerbar/db2/ Florent> _______________________________________________ Florent> Gestalt-users mailing list Florent> Ges...@li... Florent> https://lists.sourceforge.net/lists/listinfo/gestalt-users --=20 Colin Adams Preston Lancashire |