DMXzone Google Maps Support Product Page

Answered

Google Map in xsl document

Asked 13 Jan 2012 04:01:04
1
has this question
13 Jan 2012 04:01:04 Dave Milam posted:
I'm trying to populate dynamic addresses using the google map extension in an xsl document. My addresses are located in two different nodes:

<>address
<>citystatezip

I'm trying to figure out what expression to use. I'm not super familiar with xPath, but have tried several things with no luck. (not even sure that's what I should use)

Anyway, from what I've read, the following syntax should work, but doesn't:

//address | //citystatezip

Please help. If there's another way to use xml or Spry Datasets, please help.
Edited by - Dave Milam on 13 Jan 2012  04:16:59

Edited by - Dave Milam on 13 Jan 2012  04:17:14

Official Answer

Replied 14 Jan 2012 13:27:29
Hello Dave,

Unfortunately it is not possible to work with xsl files. You need a standard Database table and a standard DW recordset.

Replies

Replied 13 Jan 2012 09:56:25
13 Jan 2012 09:56:25 Vulcho Vulev replied:
Hello Dave Milam.

Please watch the following video where we described how to use Google Maps Dynamicaly:

Creating Dynamic DMXzone Google Maps - With this movie we will show you how to use DMXzone Google Maps with dynamic data.
Replied 13 Jan 2012 21:54:00
13 Jan 2012 21:54:00 Dave Milam replied:
I've watched that tutorial several times and I'm doing exactly as instructed. But it's still not working. Here's what I've tried so far:

AS A PHP PAGE:
If my page is in php, I'm using an extension from www.dwzone-it.com to create a recordset from xml. (php - xml to recordset) Unfortunately, the recordset selector is not populating and the drop-down is ghosted (see screenshot):



AS AN XSL PAGE
If I use a standard xsl page, xml in dreamweaver will not allow you to create a recordset. Instead a Schema is available. Still the recordset selector is not populating and the drop-down is ghosted (see screenshot):



Your tutorial gives no instructions for working with data in xml. Please help.
Replied 14 Jan 2012 13:27:29
14 Jan 2012 13:27:29 Teodor Kuduschiev replied:
Hello Dave,

Unfortunately it is not possible to work with xsl files. You need a standard Database table and a standard DW recordset.
Replied 14 Jan 2012 15:43:22
14 Jan 2012 15:43:22 Dave Milam replied:
Argh....does the documentation actually say that somewhere? I'm not sure how I missed that.

Reply to this topic