ab
05-31-2005, 05:42 AM
i am trying to implement the following simple code using the server apache and php script
but the result is an xml nodeset not the svg graph
how can i configer the system to be abe to comunicate with each other
thanks
<?php
header("Content-type: image/svg+xml");
echo '<?xml version="1.0" encoding="iso-8859-1" ?>';
?>
<svg viewBox="0 0 500 500" >
<rect x="0" y="0" width="50" height="50" >
<text x="12" y="20" style="font-size:10px;"> My Text</text>
</rect>
</svg>
but the result is an xml nodeset not the svg graph
how can i configer the system to be abe to comunicate with each other
thanks
<?php
header("Content-type: image/svg+xml");
echo '<?xml version="1.0" encoding="iso-8859-1" ?>';
?>
<svg viewBox="0 0 500 500" >
<rect x="0" y="0" width="50" height="50" >
<text x="12" y="20" style="font-size:10px;"> My Text</text>
</rect>
</svg>