XSL Doctype Issue
I'm having issues with an XSL template that is outputting to HTML. There is a javascript being rendered on the result开发者_运维百科ing HTML page that requires a strict doctype in order to work across all browsers.
However, I cant get the doctype to show up.
Any thoughts on this? Would it be possible to insert it dynamically, using javascript or php?
Any help is appreciated.
Batfan, you will want to look into the doctype-system
and doctype-public
attributes of the output
element.
Update: Even better, look at this other StackOverflow Post about it.
精彩评论