On Aug 3, 7:26 pm, shadrack <[email protected]> wrote:
> Thanks for the response and help.  I don't see where you have CDATA
> inside the XML.  Can you provide an example of how you include the
> CDATA elements in the xml?  That will undoubtedly work better than
> what I'm doing. I've used CDATA elements before, but I tried inside
> the xml, and I couldn't get it to work.  Thanks again,

Do a view source on this xml (link in my earlier post also...):
http://www.geocodezip.com/F18CrashSite081208.xml

Do you not see the CDATA tags?

  -- Larry

>
> Shad
>
> On Aug 3, 5:27 pm, "[email protected]" <[email protected]>
> wrote:
>
> > On Aug 3, 4:58 pm, shadrack <[email protected]> wrote:
>
> > > Hi,
>
> > > I have a site that is displaying Google Maps API markers 
> > > (http://www.julieshad.com/so_or_ag/map.htmlutilizinghttp://www.juliesh...)
> > > by accessing data from XML, parsing it and displaying it. Right now
> > > I'm using attributes, which I'm finding to be somewhat limiting, and I
> > > will be expanding my number of markers so I need to decide on a data
> > > structure. First, in order to put HTML within the attribute (i.e. img
> > > sr to display a picture), I'm having to use some unorthodox coding to
> > > place "<", etc. This won't work because I want it to be easy to update/
> > > change the XML content for people who are novices at HTML.
>
> > I use CDATA elements in XML to allow entry of text "as is".
>
> > Example:http://www.geocodezip.com/GenericMapBrowser.asp?filename=F18CrashSite...
>
> > which uses this xml:http://www.geocodezip.com/F18CrashSite081208.xml
>
> >   -- Larry
>
> > > Additionally, a goal of mine is to be able to reference data in the
> > > XML through other attributes in the XML. For instance, if an attribute
> > > of one marker has a word that is the name of another marker, I want to
> > > be able to link to that marker. If you click on the green marker at
> > > the top, it displays "Amuse" and "Arbor House". These are the
> > > "connections" attribute of the marker named "Brian's Green Thumb...".
> > > Since "Amuse" is the exact name of another marker, I'd like to access
> > > the attributes of "Amuse" through a link or something. Is this making
> > > sense? And is it possible?
>
> > > So, in general I'd like to find a better and easier way to organize my
> > > data for display. Mysql may be nice, but I want to avoid setting up a
> > > database and maintaining that if possible. Will a more robust
> > > application of xml be better, like using more elements vs. a lot of
> > > attributes? Or maybe just a comma-separated value .txt file may be
> > > better, but hard to believe. I'm not an expert coder so I need
> > > something that works with Google Maps fairly well. Thanks for any
> > > time, and I'll gladly help explain further if questions,
>
> > > Shad

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