<br>Not sure what you are asking, but I'll take a stab in the dark.<br><br>When you retrieve geometry as SVG what you get back is the contents of a path attribute node.<br><br>So if an SVG path element is written <path d="X"/> the result of the query is "X", or the value of the 'd' (data) attribute, not an XML element, and certainly not a valid SVG document.  You have to construct these yourself.<br>
<br><div class="gmail_quote">On Mon, Sep 13, 2010 at 12:00 PM, Bob Pawley <span dir="ltr"><<a href="mailto:rjpawley@shaw.ca">rjpawley@shaw.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div style="padding-left: 10px; padding-right: 10px; padding-top: 15px;" name="Compose message area">
<div><font face="Calibri">Hi</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">I may be on the wrong list but xml and Delphi guys that 
know Postgis seem to be few and far between.</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">I`m using the following to display the binary data 
on a memo component as text.</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri"> PSQLQUery1.SQL.Add('Select the_geom from 
p_id.image');<br>    PSQLQUery1.SQL.Add ('where 
p_id.image.p_id_id = ''1534''');<br>    
PSQLQUery1.Open;</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">This works fine.</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">When I change it to select AsSvg the xml 
consider assvg as another node and the geometry data does not 
appear.</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri"> PSQLQUery1.SQL.Add('Select AsSvg(the_geom) from 
p_id.image');<br>    PSQLQUery1.SQL.Add ('where 
p_id.image.p_id_id = ''1534''');<br>    
PSQLQUery1.Open;</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">If any one can suggest a 
possible reason for this behavior It would be 
appreciated. </font></div>
<div><font face="Calibri"></font> </div><font color="#888888">
<div><font face="Calibri">Bob</font></div></font></div>
<br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Cheers!<br>Rick<br>Eeny, Meeny, Jelly Beanie, the spirits are about to speak!<br>        -- Bullwinkle Moose<br><br>