MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Programmatically Uploading: XML Format

This is a discussion on Programmatically Uploading: XML Format within the MapPoint Web Service and Virtual Earth forums, part of the Map Forums category; Currently, I manually upload my data to the MapPoint web service. Manually isn't the right word, given the tiny amount ...


Go Back   MapPoint Forums > Map Forums > MapPoint Web Service and Virtual Earth

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-21-2005
Junior Member
White Belt
 
Join Date: Feb 2004
Posts: 9
Programmatically Uploading: XML Format

Currently, I manually upload my data to the MapPoint web service. Manually isn't the right word, given the tiny amount of work it takes me...but you get the idea. I use the CSS site to upload my data.

To get a palatable flavor of XML for MapPoint to accept, I use (as MS recommends) Access 2003 to export my data to XML (with the schema embedded). Works great.

Now, I want to programmatically upload this data. My question is, how can I programmatically get my XML in a shape that MapPoint will like?

The classes that I have representing my user's collection of datapoints will
serialize themselves, but in very simple XML format:



1
-93.876543
33.123456


2
-92.876543
34.123456

...


Note that the XML schema is not embedded, as in the output from Access 2003. The XML above is night-and-day different from what you'll see in that Access-output XML, which looks more like this:




unique="yes" clustered="no"/>




od:sqlSType="int" type="xsd:int"/>
od:sqlSType="float" type="xsd:double"/>
od:sqlSType="float" type="xsd:double"/>

My question is, how can I programmatically get my class objects into a
format that the MapPoint web service will find palatable?

For instance, I could write the properties of my class objects into an ADO.NET DataTable and then serialize that DataTable to XML. That XML would be in the form of an XML DiffGram. But would MapPoint accept that?

Please let me know if my question isn't clear.

And thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
format, programmatically, uploading, xml


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Uploading data microcom MapPoint Web Service and Virtual Earth 1 01-09-2006 05:26 PM
How to save map as *.ptm programmatically in MapPoint? Anonymous MapPoint 2006/2009 Discussion 3 10-07-2004 12:22 PM
Uploading of Data on Map Point amitsh MapPoint 2006/2009 Discussion 1 04-02-2004 04:17 PM
experimental support for uploading routes Anonymous News and Announcements 0 10-19-2003 05:21 PM
Uploading MapPoint Locations To Your GPS Anonymous MP2K Magazine Articles 1 08-30-2002 10:53 PM


All times are GMT -5. The time now is 11:09 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54