[xslt] a question about DOCTYPE in xsltproc's result



I'm recently read some archive about quirks mode,and I find the page
xsltproc(in libxslt-1.1.12) parses out is using
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  >
this makes mozilla firefox-1.0 use quirks mode
and after I change it to
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
http://www.w3.org/TR/html4/loose.dtd"; >,firefox use Standards Mode
is there anything to change(xslt file,xsltproc argument...) so that
the parsed page use the latter DOCTYPE?


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