Re: XML in PHP
| From: | Carl | Date: | Thu, 13 Jul 2000 16:14:33 +0000 |
| Subject: | Re: XML in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6477@lists.php.net to get a copy of this message | ||
on 7/13/00 12:10 PM, thies@digicol.de at thies@digicol.de wrote:
> On Thu, Jul 13, 2000 at 10:48:05AM -0400, Peter Benoit wrote:
>> XML docs begin with something like
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>>
>> How can I use this in a PHP document?
>
> disable "short_tags" - that way your php cose has to start
> with "<?php"
>
> tc
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>> For additional commands, e-mail: php-general-help@lists.php.net
>> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Yeah but your server still has to be able to parse xml, right?
If that's the case, I highly recommend Cocoon. Go to
http://grapeape.codingapes.com and look on the XML page
(sweet isn't it) for
local links to the software you need if you're using apache. I know they
only show rpms so if you're using a *nix system with rpm support then i'd
highly suggest using them, it's a lot easier then doing it from tar.gz files
and the source. In case you can't use the rpms then go to xml.apache.org and
browse around. In case you're using Windows (please tell me you're not) then
I don't know what to tell you.