in reply to well formed XHTML != tag soup
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 '); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: well formed XHTML != tag soup
by CamelDung (Novice) on Jan 07, 2010 at 09:46 UTC | |
by Corion (Patriarch) on Jan 07, 2010 at 09:49 UTC | |
by Anonymous Monk on Jan 07, 2010 at 10:01 UTC | |
by CamelDung (Novice) on Jan 07, 2010 at 10:11 UTC |