CGI, CGI Programminguse CGI; if( CGI->http('accept') =~ m'\Qapplication/xhtml+xml\E'i ){ print CGI->header( 'application/xhtml+xml; charset=utf-8 '); } else { print CGI->header( 'text/html; charset=utf-8 '); }
In reply to Re: well formed XHTML != tag soup
by Anonymous Monk
in thread well formed XHTML != tag soup
by CamelDung
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |