On Thu, Oct 10, 2002 at 05:05:58PM +0100, Tim Waugh wrote: > On Thu, Oct 10, 2002 at 11:45:26AM -0400, Daniel Veillard wrote: > > > There is also a couple of new options: > > --nowrite : refuse to write to any file or resource > > --nomkdir : refuse to create directories > > > > To be able to protect the environment when the stylesheets are not considered > > trusted enough. > > It would be useful if you could limit creation of files to within a > particular directory, but I realise that's non-trivial.
Well, simply make a preference callback checking the value, plug it in and you're done. Should be actually relatively simple to add to xsltproc now :-) Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/