views:

138

answers:

1

I'm having issues with an XSL template that is outputting to HTML. There is a javascript being rendered on the resulting 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.

+2  A: 

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.

Jordan S. Jones
@Jordan - I tried some things that were very similar to that last night and could not get it to work. It would either not render the doctype or the generated page would just end up being blank. I'll look over that post and try again tonight.
Batfan