Re: [xslt] suppressing warning from document()

On Tue, Jul 10, 2007 at 01:56:11PM +0100, Sebastian Rahtz wrote:
> 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!

  I still didn't understood, do you use just xsltproc or use your
own code on top of libxslt ?


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]