Questions tagged [xhtml-transitional]
65 questions
144
votes
12 answers
Set HTML5 doctype with XSLT
How would I cleanly set the doctype of a file to HTML5 via XSLT (in this case with collective.xdv)
The following, which is the best my Google foo has been able to find:

Jon Hadley
- 5,196
- 8
- 41
- 65
77
votes
15 answers
Decode UTF-8 with Javascript
I have Javascript in an XHTML web page that is passing UTF-8 encoded strings. It needs to continue to pass the UTF-8 version, as well as decode it. How is it possible to decode a UTF-8 string for display?