[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Can the default function namespace be undeclared in XSLT?
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 1 Jun 2014 23:03:20 -0000

On 1 Jun 2014, at 23:23, Dimitre Novatchev dnovatchev@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> On Sun, Jun 1, 2014 at 3:06 PM, Michael Kay mike@xxxxxxxxxxxx
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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


Current Thread
Keywords