PDA

View Full Version : Question about xsl and Internet Explorer


shadmego
10-27-2006, 06:18 AM
I have placed a Google map of my church on our website with the ability to get directions from your location to the church with a marker that contains a window with the address of the church and a directions button. Everything works great (in Firefox 2). The marker does not display at all in Opera 9 (I wonder if that's normal?), and in Internet Explorer 6 and 7, the space between the state and the zip code is absent.Normally, I would not care too much beyond the look of it, but the address with the flaw in IE is sent to Google's directions page that way (no space between state and zip) where it returns an error.

I have checked the code and the xsl that defines the window with the directions is correct. Is there something I'm missing that would make the page render correctly in Firefox and not in IE?

I have placed here the part of the code in question:

<p>
<b><xsl:value-of select="name"/></b>
<br /><xsl:value-of select="address"/>
<br /><xsl:value-of select="city"/>, <xsl:value-of select="state"/><xsl:text> </xsl:text><xsl:value-of select="zipcode"/>
<br /><br />
<xsl:copy-of select="misc" />You can see the map here (http://www.febconline.org/directions-to-church/index.php)