Re: [Gestalt-users] Memo functions
Status: Alpha
Brought to you by:
colin-adams
From: Florent G. <dar...@ya...> - 2007-05-07 11:54:45
|
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. If I remember correctly the discussion we had on XSL List, the attribute is not conmpliant because an extension attribute cannot change the behaviour of an XSLT instruction in anyway. Do someone remember the discussion, I can't find it in the archive? > This is identical to xsl:function except that it memoizes the > result just like specifying gexslt:memo-function="yes" used to > do. Instead of defining gexslt:function to have the exact meaning of xsl:function with memoizing in addition, why not defining it to have the exact form/meaning of xsl:function, but with additional attributes (at the moment just @memo-function or @memoize). That would make it possible to add another extension attribute to gexslt:function, without interfering with its memoization behaviour: <!-- Maybe additional non-standard attributes... --> <gexslt:function name="..." memoize="true"> ... </gexslt:function> Regards, --drkm ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com |