xsl-list
[Top] [All Lists]

[xsl] Function name that doesn't have an explicit namespace prefix?

2012-11-13 04:47:32
Hi Folks,

Is there a way to define an xsl:function without explicitly giving it a 
namespace prefix? For example:

    <xsl:function name="f">
        
    </xsl:function>

I was thinking that using xpath-default-namespace would enable me to do what I 
desire:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                         xpath-default-namespace="blah"
                         version="3.0">
    
    <xsl:function name="f">
          ...
    </xsl:function>

But I get the error:

    Function name must have a namespace prefix

Suggestions?

/Roger

--~------------------------------------------------------------------
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>