Re: XSLTProcessor without validation
| From: | Richard Lynch | Date: | Thu, 14 Feb 2008 20:01:42 +0000 |
| Subject: | Re: XSLTProcessor without validation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269306@lists.php.net to get a copy of this message | ||
On Thu, February 14, 2008 4:24 am, Siegfried Gipp wrote:
> i still got no answer. Maybe i did not see it, altough i'm trying to
> read any
> single post. But may be i overlooked it due to high traffic. So now i
> have
> set up a filter (hopefully) copying answers to another folder.
>
> Here is the question: Is it possible to disable validation when using
> XSLTProcessor? If yes, how?
>
> When i use xsltproc, the command line tool for the libxslt, i can use
> the
> switch --novalid to subpress validation. This makes a huge difference
> in
> speed. Without validation it is fast enough. With validation it takes
> far too
> long to be acceptable. So how do i use XSLTProcessor from within PHP
> to
> achieve the same result as if using xsltproc --novalid?
You may want to try using http://php.net/exec to run your command
line
tool and ignore the PHP one, if it won't let you turn off validation.
You could also consider filing a "Feature Request" in
http://bugs.php.net/
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?