On Apr 23, 6:23 pm, noobtube <[email protected]> wrote:
> Correct...I need to place the html attribute into the xml.  If you do
> a viewsource, you will see the code behind this xml generation.
> Somehow I have to place the "html" info into this.

So: let's see if I understand this. Currently you have three addresses
(nonsense addresses, but it appears they do geocode) and you want to
assign an "html" attribute to each address and have it appear in the
XML so that you can get it out for an infoWindow.

You could change your addresses array to something like
var addresses= [
   [ "address 1", "html 1"],
   [ "address 2", "html 2"]
 ]
and then reference each address as
  addresses[nextaddress][0]
and its corresponding html as
  addresses[nextaddress][1]

Does that help? Remember that you will almost certainly need to encode
all your HTML content -- depending on how you choose to include it in
your XML output -- and that means not only tags like &lt;b&gt; but
also things like &amp;eacute; where entities need to be "double-
encoded".

Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to