--- Troy Arnold <[EMAIL PROTECTED]> wrote:
> Two options:
> One, include your xml declaration as a quoted
> string:
> echo '<?xml version="1.0"?>';
> 
> Or, disable php's short_open_tags ( <? ?> vs. <?php
> ?> )
> Try sticking this in a .htaccess:
> php_flag short_open_tag off
> 
> You might also be able to toggle that flag on a page
> by page basis with
> something like: <?php
> ini_set('short_open_tag','off'); ?>
> 
> hth
> -ta
<snip> 
> > 
> > # ---------- html_header.php, called from
> include.php
> > <?php
> > function html_header_10_strict ( $css_ref, $h1,
> $h2 )
> > {
> > ?>
> > <?xml version="1.0"?>

Hi Troy,

Option 1 worked.  I replaced the xml line with:

<?php 
echo '<?xml version="1.0"?>'; 
echo "\n";
?>

Now I'll play with the second option.
Thanks,
Jim

> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
> > Strict//EN"
> >   
> >
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> > <html xmlns="http://www.w3.org/1999/xhtml";>
> > <head>

<snip>


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to