I am trying to implement a mixed xhtml and svg document. The layout starts with:
<?php echo "<?xml version='1.0'?>"; ?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg"> I can get a static page like this to render properly using a .xhtml file ending. Apache sends the document as Content-Type: application/ xhtml+xml and Mozilla renders the svg. One thought is to use mod_rewrite to change the Content-Type: I'm relatively new to mod_rewrite and the hack of .htaccess bedlow doesn't seem to work. <IfModule mod_rewrite.c> RewriteEngine on RewriteRule (.*) - [T=application/xhtml+xml] RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] </IfModule> The other issue is that this would change the Type of all my output - not just the ones with the mixed namespaces. Furthermore, I believe that IE chokes on application/xhtml+xml. Require conditional browser sniffing statements. Any thoughts? Thanks, Brian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
