Costello, Roger L. wrote:
Is there a way to define an xsl:function without explicitly giving it a
namespace prefix? For example:
<xsl:function name="f">
</xsl:function>
Well http://www.w3.org/TR/xslt20/#stylesheet-functions is rather clear,
it says "The name attribute specifies the name of the function. The
value of the name attribute is a QName, which is expanded as described
in 5.1 Qualified Names.
...
[ERR XTSE0740] A stylesheet function must have a prefixed name, to
remove any risk of a clash with a function in the default function
namespace. It is a static error if the name has no prefix."
--
Martin Honnen --- MVP Data Platform Development
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
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>
--~--