Re: To you know-it-all's out there...
| From: | nico_netcourrier | Date: | Sun, 06 Jan 2002 11:13:34 +0000 |
| Subject: | Re: To you know-it-all's out there... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79603@lists.php.net to get a copy of this message | ||
La page XML ne peut pas être affichée
Impossible d'afficher l'entrée XML en utilisant la feuille de style .
Corrigez l'erreur, puis cliquez sur le bouton Actualiser ou réessayez
ultérieurement.
----------------------------------------------------------------------------
----
Aucun espace blanc n'est autorisé à cet emplacement. Ligne 1, Position 3
<?
Well, something's wrong (the style sheet ???), i think the integrated
debbugger is a good idea...
----- Original Message -----
From: Torkil Johnsen <torkil.johnsen@stud.hibo.no>
To: <php-general@lists.php.net>
Sent: Sunday, January 06, 2002 4:39 AM
Subject: [PHP] To you know-it-all's out there...
> Yeah this is a BIT of topic...
>
> I have this code:
> <?
> header("Content-type: image/svg+xml");
> print('<?xml version="1.0" encoding="iso-8859-1"?>');
> ?>
>
> <?php $text="This page uses PHP and SVG"; ?>
>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN"
>
"http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd"
> >
>
> <svg xml:space="preserve" width="100%" height="20">
> <desc>Using styles</desc>
> <rect style="fill:#333333" x="0" y="0" width="100%"
> height="145"/>
> <text x="50" y="70" style="text-anchor:left; fill:#cccccc;
> font-size:26;
> font-weight:15; font-family:Tahoma, Verdana; font-style:regular"><?php
echo
> $text; ?></text>
> </svg>
>
> See for yourself at:
> http://www.torkiljohnsen.com/xperiment/index.psvg
>
> This produces an error message (which you can read at the same page).
>
> Why is this?
> I had an xml/svg "specialist" make this code and it works perfectly on his
> server... Anyone got ANY clue as to why this is happening?
>
> ehhh... does anyone know of any good XML/SVG mailing lists out there ? :S
>
> Didn't know where else to ask.....
>
> - Torkil
>
>
> --
> 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
>
>