This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Problems with Website 2.0
On Fri, Jan 04, 2002 at 02:23:25PM -0500, Norman Walsh wrote:
> / Daniel Veillard <veillard@redhat.com> was heard to say:
> | Seem's it's one of Norm's extensions. If he can explain its semantic
> | in a few lines (and provide its namespace) I may add it to the libxslt
> | extensions (unless it makes more sense to replace it with some EXSLT).
>
> I've forgotten if it's provided by EXSLT, but
I just checked, and could not found anything.
> x:exists('foo')
>
> returns true if and only if a file named 'foo' exists. I suppose it
> should properly consider its argument a URI.
Hum, 'foo' as a file I would expect it to be a test w.r.t the curent
directory following the POSIX semantic. 'foo' as an URI, I would expect
it to be an URI-Reference and in that case relative to the base and
hence in general to the containing stylesheet. I really don't see how
those two semantic could match, so which one is it really ;-) ?
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/