You can either write <br> for <br> inside normal XML, or you can
use CDATA (character data) to tell the XML to not attempt to try to
parse the data as XML tags.
<markers>
<marker lat="43.65654" lng="-79.90138" label="Marker One">
<infowindow><![CDATA[
Some stuff to display in the<br>First Info Window
]]></infowindow>
</marker>
</markers>
But you can't do CDATA inside an Attribute, so you have to read it like
this:
var html = GXml.value(markers[i].getElementsByTagName("infowindow")[0]);
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---