Re: XML tags are just a cheap rip-off of PHP tags

ACTUALLY, I believe the <?...?> processing instruction syntax was 
present in SGML, which predates XML, PHP, HTML and just about any other 
language that might use this syntax.

Oh, and you can insert the XML prolog in PHP simply by echoing it:

<?php echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"; ?>

dagobah1@optonline.net wrote:

>
> PHP has been around long before you started working on XML, so don't 
> denie you stold their tags.
>
> <? ...... ?>  Couldn't you come up with something else?
>
> If a page ends in .php there is absoluty NO WAY to decleare XML with 
> your little
> <?xml version="1.0" encoding="ISO-8859-1"?> tag.
>
> Don't you realize that by doing this, you screwed yourself.  Because 
> very few people will use that tag, and thus its death will come 
> quick.  The only pages that can use that tag are pages that end in 
> .html or .asp which are the second and their most common extensions.  
> .php is quickly becomming number one in the extension that people use 
> for their sites.
>
> Now don't brush me off like you did once before when I brought this 
> up.  You people really need to realize that you aren't the smartest 
> people on Earth, and your word isn't law, and you aren't God.
>
>
> P.S. I don't want that moron spartanicus (spartanicus.3@ntlworld.ie) 
> to comment, he doesn't know anything.  He's just a little sissy punk 
> whom can talk big but can't back anything up.
>
>
>

-- 
http://www.mozilla.org/products/firefox/ - Get Firefox!
http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox!

Received on Thursday, 23 June 2005 04:53:53 UTC