xsl-list
[Top] [All Lists]

Re: use-when attribute?

2004-12-17 02:37:59
"Michael" == Michael Kay <mike(_at_)saxonica(_dot_)com> writes:

    Michael> Actually, the spec says that in the dynamic context for
    Michael> the use-when expression, "available documents" is empty,
    Michael> which means that fn:doc() should always return an error
    Michael> "document not found".

Oh yes.
I thought it was odd that doc(0 should be allowed and not document()!

    Michael> But it looks as if neither of the two existing
    Michael> implementations (mine will be out shortly!) impose that
    Michael> restriction.

No. Mine adheres to all the restrictions (until someone shows me
otherwise).
I just forgot about it when writing the message.
-- 
Colin Paul Adams
Preston Lancashire

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