Re: [xslt] suppressing warning from document()
- From: Sebastian Rahtz <sebastian rahtz oucs ox ac uk>
- To: veillard redhat com, The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] suppressing warning from document()
- Date: Tue, 10 Jul 2007 13:56:11 +0100
Daniel Veillard wrote:
you need to catch the error message, which should be quite easy
if you code at the C level and at the xsltproc level a --nowarning
option similar to xmllint one should be close to trivial using the
C API.
I am not that strong, but I take the point.
or a better method to check if a file exists before
reading it?
Not that I can think of, and that's reasonnable, such an XSLT function
would turn into an horrible security hole I'm afraid :-)
drat. oh well, thanks!
--
Sebastian Rahtz
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]