I am using this script to read in a test SVG file to be parsed as a string
<?
echo readfile("http://www.w3schools.com/svg/rect1.svg");
?>
This returns the SVG file in xml format .. but for every such file there is an integer viewed in the browser ..
e.g. above (running in PHP5) is read (in "view source" in browser) as follows ..
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<rect width="300" height="100"
style="fill:rgb(0,0,255);stroke-width:1;
stroke:rgb(0,0,0)"/>
</svg>[color=red]333[/color]
Where is this integer ("333") derived from? It changes in value for different SVG files which are read. How do I eliminate it?