Re: Re: XSLTProcessor without validation

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

 



Am Freitag, 15. Februar 2008 10:13:15 schrieb Peter Ford:

> 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?

Interesting idea. No, i have not tried it. Problem: At least one of the files 
to be parsed is xhtml. And the result is, besides others, xhtml and html.

Ah, BTW: Parsing the rss file is very fast. So indeed this might help. But 
unfortunately i need the DOCTYPE in the (x)html files, at least in the 
resulting files.

But indeed interesting idea. I'll think about it.

-- 
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