Re: [XPath30] question about URIQualifiedName

Thanks, Mike for the answer. Its helpful.

On Mon, Jun 25, 2018 at 1:27 PM, Michael Kay <mike@saxonica.com> wrote:

> The reason was to allow XPath expressions to be written without any
> dependency on an externally-defined namespace context.
>
> For example it allows the new fn:path() function to generate a path that
> is context-independent.
>
> Of course the syntax is more suited to software-generated XPath
> expressions than to human-written ones. But even with hand-written XPath, I
> find that if I'm only going to use a namespace once it's often convenient
> to use the new syntax, for example in a function call
>
> <xsl:message>Processing element {name()} on line {Q{
> http://saxon.sf.net/}line-number}</xsl:message>
>
> Michael Kay
> Saxonica





-- 
Regards,
Mukul Gandhi

Received on Monday, 25 June 2018 09:40:20 UTC