[mapserver-users] XML mapfile?
Ryan, Adam
ARyan at co.linn.or.us
Tue May 28 08:22:12 PDT 2002
Hi, thanks for the reply.
I want to load just the selected recordset as an XML string. Then display
an abbreviated table 1, say name and address, and then a more extensive
table 2. User selects a record from Table 1 and Table 2 is populated...
Still tinkering...
Adam Ryan
Linn County GIS
-----Original Message-----
From: C F [mailto:gis_consultant at hotmail.com]
Sent: Friday, May 24, 2002 8:41 AM
To: ARyan at co.linn.or.us
Subject: RE: [mapserver-users] XML mapfile?
Hi Ryan,
I'm not sure exactly what you're trying to do. Could you try explaining it
again?
I understand the first part about how you're creating an XML string and
loading it into the DOM.... Are you talking about loading a whole DB table
in there?
Or are you just talking about using it to display the same recordset in
different ways?
>From: "Ryan, Adam" <ARyan at co.linn.or.us>
>To: mapserver-users at lists.gis.umn.edu
>Subject: RE: [mapserver-users] XML mapfile?
>Date: Thu, 23 May 2002 13:10:44 -0700
>
>
>OK. I'm new to XML and DOM but wouldn't I be able to use javascript to...
>
>Create a text variable in XML format with result attribute data that grows
>with every reiteration of the query template...
>
>Then use that text var to load in an XML into memory like this:
>
>var xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
>xmlDoc.async="false"
>xmlDoc.loadXML(myTextVariable)
>
>Then set up one abbreviated table a user could click on to populate a more
>extensive table so they can find the lot they're looking for without
>repeated calls to mapserver.
>
>If I wanted to allow the user to 'click to see map' I would need to add
>certain values from the query results to the XML text, like [shpmid] and
>[shpext]. What else?
>
>This is the process I'm going to try...am I asking for trouble or is this
>commonly done or what?
>
>Thanks.
>
>Adam Ryan
>Linn County
>
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
More information about the MapServer-users
mailing list