Re: XSLTProcessor without validation

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

 



Siegfried Gipp wrote:
> Hi,
> 
> 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?
> 
> Regards
> Siegfried

What if you don't have a DTD in the XML to validate it with?
I haven't tested it but it was something that worked in the Java XML processing
stuff. No DTD, no validation: simple!
So have you tried stripping the DOCTYPE declaration before XSLTing the XML?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux