Updated doc to cite SO answer and demonstrate XHTML/Non-XHTML variants.