On 18 January 2011 16:36, [email protected] <[email protected]> wrote:
> guess a java error

I doubt it's a Java error, or even a Javascript error. It's a problem
with the XML.

> <markers>
>  <marker name="Kostis" address="Kikou 8" lng="33.3169999"
> lat="35.1618601" <a href="http://www.econym.demon.co.uk";>Link</a>
> category="theatre" />

Consider your attributes: you have
name="Kostis"
address="Kikou 8"
category="theatre"
and
<a href="link">Link</a>

Do you see what might be wrong there?

Even if you have a proper attribute
link="<a href='http://mydestination.org'>Link</a>"
(note how the quotes are varied) then it will still fail because you
can't have < > inside an XML element.

I would suggest it would be easier to have two attributes,
link="http://mydestination.org/";
text="Link"
and then build the <a> tag in the Javascript which parses the XML.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to