xsl-list
[Top] [All Lists]

[xsl] xsl:function vs named templates (Which is better?)

2007-03-14 13:03:50
So I have a fairly general question. I am using XSLT 2.0 and am
interested in creating user defined functions. Which construct is better
to use... xsl:function or a named template? 

An example of what I am trying to do with the user defined function is
below. 

So for example if I have 

<greater>freq</greater>
<lesser>freq</lesser>

I want to replace it with .....

<greater>upperfreq</greater>
<lesser>lowerfreq</lesser>

Thanks 
  TieSha 



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>