Key breaks when including from a XSLT
I am trying to include a little map an XSL file for some of my data.
But the key file keeps giving me errors.
The code below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/location">
<html>
<head>
<script
src="http://maps.google.com/maps?file=api&v=1&key=XXXXXXXXXXXXXXXXXXXXXXXXXX"
type="text/javascript"></script>
<link rel="stylesheet" href="/style.css"
type="text/css" media="screen" />
<title><xsl:value-of select="name"/></title>
<script type="text/javascript">
function onLoad() {
.
.
.
Generates the following error:
"GLoadMapsScript is not defined" in source file
"http://maps.google.com/maps?file=api&v=1&key=XXXXXXXXXXXXXXXXXXXXXXXXXX"
but it's there... And the same code works fine in an unprocessed file.
So does anyone have any ideas?
0 Comments:
Yorum Gönder
<< Home