<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>HI</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>Read the ShapeFile Specification Document from ESRI <A 
href="http://shapelib.maptools.org/dl/shapefile.pdf">http://shapelib.maptools.org/dl/shapefile.pdf</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>Then take a look at the API Documentation of the 
Shapelib</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>For converting this to XML you should think of using for 
the geometriy a format like GML</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>One of the mainparts of your app is to 'parse' the 
shape.shx file and birng the stored geometry to the tags in the XML 
File.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>Therefroe you need to know how to write and read(parse) XML 
(Xerces etc.)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>With the shapelib your are able to read the .dbf File also 
so that you can bring up this Attributes (or Information) up to the 
tags.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>Each tuppel in the dbf stands for one feature in the 
shapefile</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>Hope that helps a little bit as basics for the 
start</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>Best Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial 
color=#0000ff size=2>Christopher Schmidt</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'"><FONT 
face=Arial></FONT><FONT face=Arial></FONT><FONT face=Arial></FONT><FONT 
face=Arial></FONT></SPAN>
<DIV align=left><FONT face=Arial color=#0000ff></FONT><BR></SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'">+------------------------------------------------------------------------------------------------+<BR></DIV></SPAN>
<DIV></DIV></SPAN>
<DIV><FONT face=Arial size=2><STRONG>GIS<FONT color=#3333cc>tec</B></FONT> GmbH 
- Neue Wege mit GIS</STRONG></FONT><SPAN 
style="mso-tab-count: 6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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bsp;&nbsp;&nbsp; 
</SPAN><BR>Diplom Informatiker<BR>Entwicklung &amp; Beratung&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Rundeturmstraße 12<SPAN 
style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN 
style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><BR>Tel&nbsp; +49-(0)6151-155 
254&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;D-64283 
Darmstadt<SPAN 
style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><BR>Fax +49-(0)6151-155 
259&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;</SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'; mso-bidi-font-size: 12.0pt"><A 
href="mailto:christopher.schmidt@gistec-online.de"><SPAN 
style="mso-bidi-font-size: 10.0pt">mailto:christopher.schmidt@gistec-online.de</SPAN></A><SPAN 
style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><BR><A 
href="http://www.gistec-online.de/" target=_blank><SPAN 
style="mso-bidi-font-size: 10.0pt"><FONT 
color=#800080>http://www.gistec-online.de</FONT></SPAN></A></SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'">&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'; mso-bidi-font-size: 12.0pt"><A 
href="http://www.go-gis.de/" target=_blank><SPAN 
style="mso-bidi-font-size: 10.0pt">http://www.go-gis.de</SPAN></A><SPAN 
style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><BR></SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'">+------------------------------------------------------------------------------------------------+<BR></SPAN></DIV></SPAN>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV></DIV></B></SPAN></SPAN>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> shapelib-bounces@lists.maptools.org 
[mailto:shapelib-bounces@lists.maptools.org] <B>On Behalf Of 
</B>??<BR><B>Sent:</B> Friday, July 07, 2006 3:51 AM<BR><B>To:</B> 
shapelib@lists.maptools.org<BR><B>Subject:</B> [Shapelib] Hello,how to transform 
the shp file to xml<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi All,I am new to shapelib.</DIV>
<DIV>Now my assignment is that I should transfomr the shp,shx,dbf file to xml 
file.</DIV>
<DIV>How I can do that.Thanks in advance!<BR clear=all><BR>-- <BR>Best 
Regard!<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Haze 
</DIV></BODY></HTML>