On Jun 26, 12:47 pm, Ivan <[email protected]> wrote:
> Hi guys I am trying to create an xml file but i am getting awkward
> results on the xml file. Firstly the else{} clause does create the xml
> file but whenever this code gets executed again it doesn not seem to
> write the xml properly. I am trying to achieve a quick write to the
> xml file at top by searching for "markers" and replacing it with the
> new element. See code.
>
> What i am trying to achieve is basically this: if i execute the code 2
> times
>
> -------------------------------------
> <markers>
> <marker a="" ..../>
> <marker a="" ..../>
> </markers>
> ---------------------------------------
>
> I am actualy getting this:
>
> ----------------------------------
> <markers>
> <marker a="" ..../>
> </markers>
>
> <markers>
> <marker a="" ..../>
> <marker a="" ..../>
> </markers>
>
> -------------------------------
>
> here is my code :
>
>      /****Write to XML
>

The xml required for the API just has to be valid.  This is a question
about xml and server side code, nothing specific to the Google Maps
API.  You might do better by asking in an xml specific forum or a
forum dedicated to the server side language you are using...

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