xsl-list
[Top] [All Lists]

Re: [xsl] Can the default function namespace be undeclared in XSLT?

2014-06-01 18:03:30

On 1 Jun 2014, at 23:23, Dimitre Novatchev dnovatchev(_at_)gmail(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

On Sun, Jun 1, 2014 at 3:06 PM, Michael Kay mike(_at_)saxonica(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
In XSLT the default function namespace is always the "fn" namespace; this 
cannot be changed.

Thank you.

Is it correct to conclude that due to this, an instance of a
user-defined type that is in no-namespace  can only be constructed
using casting, but not using the name of the type as a constructor
function?



In 3.0 you can also use

Q{}mytype(...)

Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

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